Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » customizing selection of text from outline
customizing selection of text from outline [message #650655] Tue, 25 January 2011 20:39 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I need to customize what gets selected when user clicks in the outline.
Greatful for a pointer to where this logic is found.

- henrik
Re: customizing selection of text from outline [message #650656 is a reply to message #650655] Tue, 25 January 2011 20:50 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I can answer the question myself - a bit of debugging revealed it is in
org.eclipse.xtext.ui.editor.outline.linking.OutlineSelection ChangedListener

On second thought, it is probably better to customize the start and
offset associated with the outline nodes when the nodes gets created...

I know how to do that.

- henrik

On 1/25/11 9:39 PM, Henrik Lindberg wrote:
> Hi,
> I need to customize what gets selected when user clicks in the outline.
> Greatful for a pointer to where this logic is found.
>
> - henrik
Previous Topic:Extract keywords from grammar
Next Topic:from generate to import ecore -> no java artifacts generated
Goto Forum:
  


Current Time: Fri Apr 26 20:17:19 GMT 2024

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

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

Back to the top