https://bugs.kde.org/show_bug.cgi?id=402450
Bug ID: 402450 Summary: commented code pasted is indented as normal code Product: kate Version: 17.12.0 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: indentation Assignee: kwrite-bugs-n...@kde.org Reporter: av...@mellanox.com Target Milestone: --- SUMMARY when commenting a line, '//' is added at the start of the line (column 0) when cutting and pasting the commented line, it's indented to match the current code, with '//' in column !=0 STEPS TO REPRODUCE 0. work with indentation if (some_condition) something to comment 1. comment an indented line if (some_condition) // something to comment 2. cut that line 3. paste that line OBSERVED RESULT if (some_condition) // something to comment EXPECTED RESULT if (some_condition) // something to comment SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.