https://bugs.kde.org/show_bug.cgi?id=456819
Bug ID: 456819 Summary: Commenting out code in C++ source files adds // to the very beginning of the line Product: frameworks-ktexteditor Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: indentation Assignee: kwrite-bugs-n...@kde.org Reporter: a.samir...@gmail.com Target Milestone: --- For example: if (!iconNo.isNull()) { buttonNoGui.setIconName(iconNo); } if I toggle comment on the middle line (or all of them), it becomes: if (!iconNo.isNull()) { // buttonNoGui.setIconName(iconNo); } the // characters are added to the very beginning of the line; which works, but interferes with clang-format, which will then change that to: if (!iconNo.isNull()) { // buttonNoGui.setIconName(iconNo); } This can be avoided if the // characters are added like this to begin with: if (!iconNo.isNull()) { // buttonNoGui.setIconName(iconNo); } -- You are receiving this mail because: You are watching all bug changes.