Setting focus in editor

I have an intention that adds documentation using attributes, like the comment example for the calculator found here:
By default the focus stays where the intention was called, I tried to use*(..), but am not able to get the cursor to move to the start of the documentation text. Doe anyone know how to do this?
Comment actions Permalink
This works fine for me:
execute(node, editorContext)->void { 
  node.@comment = new initialized node<CommentAnnotation>(); 
Comment actions Permalink
I suggest using operation recently introduced in MPS: -> New way of handling editor selection

Please sign in to leave a comment.