solarwinds / OrionSDK

SDK for the SolarWinds Orion platform, including tools, documentation, and samples in PowerShell, C#, Go, Perl, and Java.
https://thwack.com/OrionSDK
Apache License 2.0
401 stars 144 forks source link

Multi-Cursor Support #209

Closed mrxinu closed 3 years ago

mrxinu commented 4 years ago

It looked like if I held shift+alt and then down arrow through the rows it was going to support multi-cursor but then when I typed something it only affected the last line. Am I doing something wrong or is it not implemented the same was as other editors?

554E2325-BC5A-4A5C-8A92-B8ACB42A7C34

danjagnow commented 4 years ago

The SWQL Studio editor is defined in the SciTextEditorControl, which uses ScintillaNET, which wraps Scintilla. It looks like Scintilla does support multiple selection, and it looks like ScintillaNET has a MultipleSelection property to expose that, but it doesn't seem like that property is set in the SWQL Studio source. I'm not sure why the cursor appears at multiple points; that may be some kind of bug in Scintilla.