Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Position cursor in Editor
Position cursor in Editor [message #527614] Thu, 15 April 2010 18:29 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 100
Registered: March 2010
Senior Member

how do I get the position of cursor of editor in edit Area?

for example I make a and the position of cursor is file 3 ans columns 4, I need those 3 and 4.

what do i use class?

Thanks a lot


[Updated on: Thu, 15 April 2010 20:14]

Report message to a moderator

Re: Position cursor in Editor [message #527764 is a reply to message #527614] Fri, 16 April 2010 12:12 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If the EditorPart is an org.eclipse.ui.texteditor.ITextEditor then you
can use that interface. Check out the javadoc.

Also see rs
for places to start.


Paul Webster .platform.doc.isv/guide/workbench.htm

Previous Topic:MultiPageEditorPart
Next Topic:Tabs in texteditor do not indent
Goto Forum:

Current Time: Mon Jun 24 16:28:48 GMT 2024

Powered by FUDForum. Page generated in 0.04529 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top