Disabling newline characters
Disabling newline characters
- Subject: Disabling newline characters
- From: Charles Srstka <email@hidden>
- Date: Sun, 15 Jun 2003 14:50:21 -0500
Okay, I've got an NSTypesetter hacked together in such a way that each
character gets displayed by a glyph that's different from what would
normally be displayed. I'm displaying a glyph for all characters (even
control characters) and want them to be in a steady stream of glyphs.
The thing is, when a \n character gets in there, it displays the glyph
I want for that character, but then it causes the cursor to jump to the
next line as usual. How can I disable this, so that hitting a carriage
return or pasting in some text that has a newline character would
simply cause the glyph to be displayed where the \n is without breaking
the line?
Thanks in advance,
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.