You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
misc feature request: line comment on gutter click #2996
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.
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
Activity
chrisjlocke commentedon Mar 25, 2022
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.
dzzie commentedon Mar 25, 2022
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
sqlitebrowser/libs/qscintilla/Qt4Qt5/qsciscintilla.cpp
Line 1961 in 93a5c2d
chrisjlocke commentedon Mar 26, 2022
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.
dzzie commentedon Mar 26, 2022
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