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.

0
1 comment

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.