Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to set cursor position in XtextEditor
How to set cursor position in XtextEditor [message #1063915] Sat, 15 June 2013 11:53 Go to next message
Marco Naddeo is currently offline Marco NaddeoFriend
Messages: 62
Registered: November 2012
Member
Hi all. Smile

How can I set the cursor position at a certain offset in a XtextEditor?


Thanks in advance,
Marco
Re: How to set cursor position in XtextEditor [message #1063917 is a reply to message #1063915] Sat, 15 June 2013 12:44 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4150
Registered: July 2009
Senior Member
Hi

Look at the XtextEditor API.

e.g. ITextEditor.selectAndReveal

Regards

Ed Willink


On 15/06/2013 12:53, Marco Naddeo wrote:
> Hi all. :)
>
> How can I set the cursor position at a certain offset in a XtextEditor?
>
>
> Thanks in advance,
> Marco
Previous Topic:How can i change Imported Meta-model
Next Topic:bind scoping class
Goto Forum:
  


Current Time: Sun Nov 23 05:07:13 GMT 2014

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

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