ObjFW  Diff

Differences From Artifact [3d29c4b702]:

To Artifact [858fa47b24]:


388
389
390
391
392
393
394

395
396



397
398
399
400
401
402
403
388
389
390
391
392
393
394
395


396
397
398
399
400
401
402
403
404
405







+
-
-
+
+
+








	return self;
}

- removeCharactersFromIndex: (size_t)start
		    toIndex: (size_t)end
{
	if (is_utf8) {
	start = of_string_index_to_position(string, start, length);
	end = of_string_index_to_position(string, end, length);
		start = of_string_index_to_position(string, start, length);
		end = of_string_index_to_position(string, end, length);
	}

	if (start > end)
		@throw [OFInvalidArgumentException newWithClass: isa
						       selector: _cmd];

	if (end > length)
		@throw [OFOutOfRangeException newWithClass: isa];