I’m finding that if I try a “addTabWithString_” with a string in the “/glyphname” format it creates a correct string, but If i try to “replaceCharactersInRange_withString_” with the same, it creates a string as if the slash were a character. How can I make “replaceCharactersInRange_withString_” accept “/glyphname” format text?
Of course. replaceCharactersInRange:withString: is an NSTextFinderClient method and the slash character is a character, which it can replace. Keep in mind that a character and a glyph name are two different things. You need to look for the offsets of /glyphname and replace those.
I see! Thanks, I figured it out with