Re: Q: The cursor position in TextView
Re: Q: The cursor position in TextView
- Subject: Re: Q: The cursor position in TextView
- From: "Kenneth C. Dyke" <email@hidden>
- Date: Mon, 17 Sep 2001 01:59:07 -0700
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