How to highlight the current line in NSTextView?
How to highlight the current line in NSTextView?
- Subject: How to highlight the current line in NSTextView?
- From: Nick <email@hidden>
- Date: Fri, 04 Nov 2011 15:19:17 +0200
Hello
Basically the question is about getting the NSRange of the line of
NSTextView where the text input cursor is currently in.
Word wraps are considered as legal 'new lines' - only one line should
actually be highlighted.
How could I do this (get an NSRange of a single line)?
Thank you
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden