https://bugs.kde.org/show_bug.cgi?id=426981
Waqar Ahmed <waqar....@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/ktexteditor/commit/6 | |90e16d5e06477d5f504d1ab89c7 | |60cb0cdcf4ff --- Comment #3 from Waqar Ahmed <waqar....@gmail.com> --- Git commit 690e16d5e06477d5f504d1ab89c760cb0cdcf4ff by Waqar Ahmed. Committed on 21/01/2022 at 06:26. Pushed by waqar into branch 'master'. 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) M +35 -16 src/document/katedocument.cpp M +1 -1 src/document/katedocument.h https://invent.kde.org/frameworks/ktexteditor/commit/690e16d5e06477d5f504d1ab89c760cb0cdcf4ff -- You are receiving this mail because: You are watching all bug changes.