Preventing newlines from wrapping
Preventing newlines from wrapping
- Subject: Preventing newlines from wrapping
- From: Brian Webster <email@hidden>
- Date: Tue, 23 Apr 2002 08:49:39 -0500
I'm writing a custom text view in which I want to display a
placeholder in place of non-displayed characters such as tab,
newline, carriage return, etc. I have successfully gotten my
placeholder to be displayed, but I haven't figured out how to
prevent the text flow from continuing on to the next line when a
newline is in the text (tabs work the way I want). The
placeholder glyph appears correctly, but I would like the next
glyph to be right next to it, and instead it appears at the
beginning of the next line. Does NSLayoutManager just do this
automatically? Is there a way to override it?
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.