Skip to content
Commit 690e16d5 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix comment toggling when all lines in selection aren't commented

Old behaviour:

When all lines in the selection aren't commented, toggling would
uncomment the commented lines in selection and stop. Pressing toggle
again would comment everything.

New behaviour:

If all lines are commented => uncomment all on toggle
If some lines are commented => comment all (recommenting commented lines)

The new behaviour is consistent with rest of the editors
(QtCreator / VSCode)

BUG: 426981
parent adea0598
Loading
Loading
Loading
Pipeline #126434 passed with stage
in 5 minutes and 31 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment