Summary: | unexpected behaviour with shift+enter in kate/kwrite | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Shriramana Sharma <samjnaa> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dendy_ua, dhaumann, webmaster |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Shriramana Sharma
2007-04-14 17:22:47 UTC
Right, it's undocumented and does exactly what you said: copy non-alphanumerics. It's useful if you write comments: // text<shift+enter> // continue comment here /** * <shift+enter> * continue text here We can remove that, of course... You are the first one who complains about it. How many users are out there who find it useful? /me loves that feature I have no objection to this feature existing. I realize it can be very useful. I could even start using it myself. Please then change this to a request for the documentation to mention this feature. Also this thing should be visible in the Configure Shortcuts so that I can change Shift+Enter to something else. Thank you. Agreed. I even think this should be done via scripts, once we can assign shortcuts to jscripts... *** Bug 171779 has been marked as a duplicate of this bug. *** if this is intended and wanted, should we close the bug? invalid or wontfix? or maybe worksforme? :-) action items: 1. use shortcut + normal function in kate-view for this instead of hard-coded in void KateViewInternal::keyPressEvent( QKeyEvent* e ) 2. add it to the docbook documentation SVN commit 868385 by dhaumann: - "insert smart newline" is an action now - default shortcut: SHIFT+Enter/Return - cleaner code in do SmartNewline BUG: 171779 M +17 -2 kateview.cpp M +1 -0 kateview.h M +20 -28 kateviewinternal.cpp M +1 -0 kateviewinternal.h SVN commit 868387 by dhaumann: document smart newline (is that the correct place?) M +4 -0 fundamentals.docbook Now you can disable this feature by removing the shortcuts in the "configure shortcuts" dialog. The action is called "Insert Smart Newline" |