Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Scoped highlight Occurrences (Highlighting occurrences in Xtext Editor)
Scoped highlight Occurrences [message #1185904] Thu, 14 November 2013 10:45
Ben Haldo is currently offline Ben HaldoFriend
Messages: 6
Registered: October 2013
Junior Member
I want to highlight occurrences of variables in my xtext based DSL editor. I can use cross referencing and mark occurrences button in the toolbar to do so. But this approach will highlight all the occurrences in the source code. Instead of highlighting all the occurrences , What I want is to limit the highlighting to a certain scope. For example, Mark all occurrences of a variable inside a function excluding all the occurrences outside that function.
I found a suggestion to implement IOccurrenceComputer, but I don't know where to start from. Any suggestions?

[Updated on: Thu, 14 November 2013 10:46]

Report message to a moderator

Previous Topic:Left Factoring in grammar problem
Next Topic:Thanks for the help!!!!
Goto Forum:

Current Time: Mon Nov 30 09:08:52 GMT 2020

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

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

Back to the top