Re: Q: The cursor position in TextView
Re: Q: The cursor position in TextView
- Subject: Re: Q: The cursor position in TextView
- From: Senovia von Perle <email@hidden>
- Date: Tue, 18 Sep 2001 14:59:04 +0900
Thanks for your help... but my question was somewhat unspecific.
What I want to know is how to convert the Range to its components
(initialIndex, number)... as it were in intValue...
Regards,
Senovia von Perle
On Monday, September 17, 2001, at 05:59 PM, Kenneth C. Dyke wrote:
On Monday, September 17, 2001, at 01:44 AM, email@hidden wrote:
Hi, there.
I want to know the method to know the position of cursor in TextView.
From NSText.h:
- (NSRange)selectedRange;
Always be sure to check the headers/documentation for the superclass.
-Ken
Kenneth Dyke, email@hidden (personal), email@hidden (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++ is to C as Lung Cancer is to Lung