Open dzzie opened 2 years ago
Seems like a good idea. I don't know if the text editor widget control thingy would recognise a gutter-click, but I guess it would. Could be a useful feature.
I guess technically its the SCN_MARGINCLICK scintinilla message. Example VB6 handler here:
https://github.com/dzzie/scivb2/blob/b581d64030fecce1e2bc0ff786ffd9a59f515166/SciSimple.ctl#L378
edit: looks like it is broken out in qsciscintilla.cpp
Well, the code is already there to do the comment and uncommenting - a button does it already (or pressing Ctrl+/ ) so on a double-click, it just has to push the button too.
aghh the ctrl/ is pretty great, and never noticed the comment button. awesome thanks I also appreciate the block comment behavior if multiple lines selected quite well solved already i guess :) attention to detail like this is how you can tell a program is a labor of love and heavily use by its developers lol
as I am working with queries I often put different criteria on different lines then just comment them out as I switch between them for various tasks
it would be super handy to have the gutter click event toggle a line comment prefix --
just a random idea