https://bugs.kde.org/show_bug.cgi?id=244090

--- Comment #6 from Gert Wollny <gw.foss...@gmail.com> ---
Created attachment 108796
  --> https://bugs.kde.org/attachment.cgi?id=108796&action=edit
Make tools_align an edit action

Coming back to this bug I just thought I might update the patch, since binding
TAB to tools_align still is considered to be a global action (which it should
not be). The attached patch is an update to the older patch to version 5.37.0.

The consideration for this patch is that "tools_align" is an edit action (i.e.
it changes the text), hence it should be treated as such, which means it should
not be added if the loaded file is in read-only mode, and it should only be
enabled when the text editor widget has the focus. One desired side effect is
that it makes it possible to move around other widgets with TAB also when
tools_align is bound to the TAB key. (Obviously  it is not possible to use TAB
to move away from the editor widget in this case ). 

Thanks for considering to apply this patch, 
Gert

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to