|How to add the green jump annotation? [message #897277]
||Mon, 23 July 2012 09:28
| Michael Dietrich
Registered: July 2012
I want to add some features to the XSL Editor in Eclipse.
My problem is, I don't know how to insert this green pipe, which can be jumped to, when you press Tab or Return.
I'm writing some code within the Java Code Editor, when I press the "-key the editor will add 2 "s and a green pipe behind the second ["some text|"|]. Once I typed my text, I can press Tab or Return to jump to this green pipe and can go on typing more code.
I don't really know, how this green pipe is called, i guess it's something like an annotation or a marker.
It would be nice, if someone could provide a code sample, how to add those markers (if it's possible) to the active text editor at a certain position.
Thank you in advance.