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 07:53 Go to next message
Marco Naddeo is currently offline Marco Naddeo
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 08:44 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4003
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: Fri Jul 25 11:57:37 EDT 2014

Powered by FUDForum. Page generated in 0.01895 seconds