Is there an API to select a portion of code from within a ExecutePsiTransaction John Egbert Created September 23, 2015 22:12 I would like to a plugin to finish what it is doing by selecting a portion of code in the editor.
You need to use ITextControl.Selection.SetRanges to change the selection, or use the SetRange extension method to make it a little easier.