• 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
Screen location of cursor in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screen location of cursor in NSTextView


  • Subject: Screen location of cursor in NSTextView
  • From: Joel Dudley <email@hidden>
  • Date: Mon, 24 Mar 2003 11:40:10 -0700

Hello,
Is it possible to get the screen position for a cursor in NSTextView as text is being entered (as an NSPoint)? Basicly I want to place an NSComboBox at the end of the text as it is being entered and the contents will change depending on what text is being entered. With NSComboBox I have been using SetRect but am still looking for a way to get the screen location of the cursor as text is being entered. Currently I am looking at NSLayoutManager methods but I am stumped. Thanks.

--
Joel Dudley
Faculty Research Associate
Arizona State University
Center for Evolutionary and Functional Genomics
http://lsweb.la.asu.edu/skumar/
_______________________________________________
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.

  • Follow-Ups:
    • Re: Screen location of cursor in NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: socket sample in cocoa
  • Next by Date: Re: Trouble with "self" in Carbon and Cocoa
  • Previous by thread: Re: socket sample in cocoa
  • Next by thread: Re: Screen location of cursor in NSTextView
  • Index(es):
    • Date
    • Thread