Version: unspecified OS: Linux Shift+{Return/Enter} does nothing when the shortcuts for the "Insert Smart Newline" action are set to "None". Reproducible: Always Steps to Reproduce: 1. Set the shortcuts for the "Insert Smart Newline" action to "None"; 2. Type Shift+Return. Actual Results: Nothing happens Expected Results: A (non-smart) newline should be inserted Happens with Kate 4.4.4
actions are strict when it comes to shortcuts. instead we should add a "insert newline" action to make it's shortcuts configurable for the user.
(In reply to comment #1) > actions are strict when it comes to shortcuts. instead we should add a "insert > newline" action to make it's shortcuts configurable for the user. To me, to looks more like shortcuts being strict rather than actions: if not assigned to an action, they do nothing. With other text editors that I've tried so far, this is exactly the opposite: a shortcut has some action which usually is the most common one on the specific platform; additionally, one can change what the shortcut does by assigning it to an action (from a predefined list). No matter how strange I find this, it would work for me to assign Shift+Return to "Insert newline".
as a fallback, Angel is probably right. Should be easy to fix.
Created attachment 57543 [details] Shift + Enter and Shift + Return insert newline. Works with this patch. When Smart Newline shortcut is disabled, the shortcuts insert non-smart newlines.
Git commit 0b1dda22c7fa94c43766c1a1218036b1dff9eade by Dominik Haumann. Committed on 02/08/2011 at 12:32. Pushed by dhaumann into branch 'master'. make shift+enter work if shortcut for smart return is removed BUG: 241994 M +1 -1 part/view/kateviewinternal.cpp http://commits.kde.org/kate/0b1dda22c7fa94c43766c1a1218036b1dff9eade
Git commit c74b72bcc705a38c3e37108be332ef14d7ce4504 by Dominik Haumann. Committed on 02/08/2011 at 12:32. Pushed by dhaumann into branch 'KDE/4.7'. make shift+enter work if shortcut for smart return is removed BUG: 241994 M +1 -1 part/view/kateviewinternal.cpp http://commits.kde.org/kate/c74b72bcc705a38c3e37108be332ef14d7ce4504