Is there an API to select a portion of code from within a ExecutePsiTransaction

I would like to a plugin to finish what it is doing by selecting a portion of code in the editor.

1 comment
Comment actions Permalink

You need to use ITextControl.Selection.SetRanges to change the selection, or use the SetRange extension method to make it a little easier.

0

Please sign in to leave a comment.