Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Caret position  RSS feed

 
S.Subhash Chandran
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am developing a text editor application. in the status bar i am planning to display the caret position - row, column. i found out the method getCaretPosition() - but this method returns the position from the top of the document... i want the line number where the caret is placed and the column where it is placed.
i know writing logic for this is simple... but if a easier solution exists...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!