|Re: "Mark occurrences" service in IMP [message #577321 is a reply to message #577286]
||Wed, 24 February 2010 21:30
| Robert M. Fuhrer
Registered: July 2009
On 2/2/10 10:51 AM, Margus Freudenthal wrote:|
> Hi again,
> now I am stuck with implementing the "mark occurrences" service. For
> some reason, the service is only called once, when the DSL file is
> opened. If I navigate around the file, the service is not called again
> to update the occurrence display. I am using IMP language meta-tooling
> 0.1.96 and IMP runtime 0.1.102 (downloaded from the update site). Does
> this functionality work in the release or should I check out the SVN
[Terribly sorry for not getting back to you sooner... my Thunderbird
install got mucked up and it took a while to get it back and healthy.]
This should work as you expect in the latest releases (e.g. the ones
available on the update site). In particular, I think it should be
working in 0.1.102, though there are newer versions available.
Is there anything in the Error Log that might indicate what's happening?
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|Re: "Mark occurrences" service in IMP [message #578216 is a reply to message #577286]
||Thu, 16 September 2010 13:01
| Margus Freudenthal
Registered: February 2010
I experimented a bit with the latest IMP version from the update site. When I select the "Mark Occurrences" button on the toolbar, the mark occurrences service is called and occurrences are highlighted in green. However, when I move the cursor, the markings do not move -- the service is not called again and the highlighting also stays. When I deselect-select the mark occurrences button, the service is called and the highlighting moves to cursor. Interestingly, when I click between editor windows, the highlighting is again performed, but old highlighting also remains present. See the screenshot below for example of this cumulative marking.
Does this service work normally for other people? Given that I used custom ANTLR-based parser to implement language, can this be problem in my implementation?
Powered by FUDForum
. Page generated in 0.05081 seconds