Summary: | [PATCH] No action (to define shortcuts) for "Insert Newline" (i.e. not smart newline) | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | angel.tsankov |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Shift + Enter and Shift + Return insert newline. |
Description
angel.tsankov
2010-06-17 15:11:10 UTC
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 |