3

If I have a Rascal visualization with location information (e.g. to start/endline of a Java Method), how can I jump into the IDE and highlight the selected lines?

So essentially how can I get the same behavior as clicking on a printed loc in the Rascal Console?

E.g:

onMouseDown(bool (int butnr, map[KeyModifier,bool] modifiers)   {
    jumpIntoEclipseHighlightLoc(loc);
}
robert
  • 1,921
  • 2
  • 17
  • 27

1 Answers1

2

Probably you are looking for the edit functions in util::Editors.

Paul Klint
  • 1,418
  • 7
  • 12
  • Thanks that is very quick, and from Mr Klint himself. I still need to read some papers from you ;-) – robert Nov 27 '14 at 11:14