• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Q: The cursor position in TextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Q: The cursor position in TextView
      • From: "John C. Randolph" <email@hidden>
References: 
 >Re: Q: The cursor position in TextView (From: "Kenneth C. Dyke" <email@hidden>)

  • Prev by Date: Acting as the target of an Internet Config call
  • Next by Date: Re: Q: The cursor position in TextView
  • Previous by thread: Re: Q: The cursor position in TextView
  • Next by thread: Re: Q: The cursor position in TextView
  • Index(es):
    • Date
    • Thread