NSLayoutManager question
NSLayoutManager question
- Subject: NSLayoutManager question
- From: Paul Bayley <email@hidden>
- Date: Tue, 19 Feb 2002 17:56:34 -0800
Hello,
I wish to change the text area selection behavior of a Cocoa application and I'm a bit lost. I believe this is handled by NSLayoutManager but not certain. I'm sure somebody will correct me if I'm wrong.
The behavior I wish to change is when selecting text via dragging I do not want to select the trailing hard return (linefeed). The current behavior selects the linefeed when selecting right or down. I do not wish to change the triple-click behavior which selects a line including the trailing linefeed.
I also want to create a click-and-hold gesture as well as a drag-the-selection gesture, but those are secondary concerns.
It seems to me, browsing Apple's documentation, that the selection behavior is performed by NSLayoutManager. However I'm not quite sure how to alter the behavior of NSLayoutManager to my liking.
_______________________________________________
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.