Question

I want to achieve following functionality:

User places the mouse cursor over a text item in the editor and this is being detected automatically, triggering a menu item to be enabled in the menu (when user moves mouse away, the menu item is disabled again).

As I'm a little new to xtext and RCP in general, I don't know where to start. I only don't know how to implement detecting if the cursor is over a certain element in my DSL code. Is there any way to achieve this?

Kind regards, Marko

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top