Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » "Mark occurrences" service in IMP
"Mark occurrences" service in IMP [message #577286] Tue, 02 February 2010 15:51 Go to next message
Margus Freudenthal is currently offline Margus Freudenthal
Messages: 12
Registered: February 2010
Junior Member
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 version?

--
Margus


Margus
Re: "Mark occurrences" service in IMP [message #577321 is a reply to message #577286] Wed, 24 February 2010 21:30 Go to previous messageGo to next message
Robert M. Fuhrer is currently offline Robert M. Fuhrer
Messages: 294
Registered: July 2009
Senior Member
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
> version?

Hi there,

[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?

--
Cheers,
-- Bob

--------------------------------
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 Go to previous message
Margus Freudenthal is currently offline Margus Freudenthal
Messages: 12
Registered: February 2010
Junior Member
Hello again,

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?


--
Margus


Margus
Previous Topic:Experiences; custom parser?
Next Topic:"Mark occurrences" service in IMP
Goto Forum:
  


Current Time: Tue Sep 16 03:08:15 GMT 2014

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

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