Screen location of cursor in NSTextView
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.