Version: 4.1.2 (KDE 4.1.1 (KDE 4.1 >= 20080828)) "release 52.2" (using 4.1.2 (KDE 4.1.1 (KDE 4.1 >= 20080828)) "release 52.2", KDE:KDE4:Factory:Desktop / openSUSE_11.0) Compiler: gcc OS: Linux (x86_64) release 2.6.25.16-0.1-default KWrite has number of shortcuts, but this one not listed there: Shift+Enter. On random lines it works line ordinary Enter - creates new line and shifts to it. But on lines beginning with figure bracket it duplicates it. For example: {<cursor_is_here> Hitting Shift+Enter produces: { {<cursor_is_here> Expected result: { <cursor_is_here> This bug present a long time in KWrite and irrigates a lot.
All I can say is that it's intended behavior. Paste this text /** * foo and press Shift+Enter in the last line. That's what it's intended for, I cannot decide if it hurts more than it heals or vice versa, but it's there on purpose. This thing cries for going into a FAQ. Do we have a FAQ? :-) *** This bug has been marked as a duplicate of bug 144211 ***
it's indeed a feature: it inserts all leading non-letters of the current line, useful for comments like /** * now press enter and // c++ comment, continue with shift+enter The bug here is that it's 1. not documented 2. a hard coded shortcut