How do I get the cursor selected code in a plugin

I use the cursor to select several lines of code. Hit Alt-Enter to activate the quickfix. In the plugin, how do I get the selected lines of code as an IBlock or something?

1 comment

Hello,

I use the cursor to select several lines of code. Hit Alt-Enter to
activate the quickfix. In the plugin, how do I get the selected lines
of code as an IBlock or something?


datacontext.TextControl().SingleSelectionRange() ?


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.