mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Comments editor: Add a shortcut for paste and match style
This commit is contained in:
parent
f14d66ce08
commit
68087432ff
@ -294,7 +294,7 @@ class EditorWidget(QTextEdit, LineEditECM): # {{{
|
|||||||
r('remove_format', 'edit-clear', _('Remove formatting'))
|
r('remove_format', 'edit-clear', _('Remove formatting'))
|
||||||
r('copy', 'edit-copy', _('Copy'), shortcut=QKeySequence.StandardKey.Copy)
|
r('copy', 'edit-copy', _('Copy'), shortcut=QKeySequence.StandardKey.Copy)
|
||||||
r('paste', 'edit-paste', _('Paste'), shortcut=QKeySequence.StandardKey.Paste)
|
r('paste', 'edit-paste', _('Paste'), shortcut=QKeySequence.StandardKey.Paste)
|
||||||
r('paste_and_match_style', 'edit-paste', _('Paste and match style'))
|
r('paste_and_match_style', 'edit-paste', _('Paste and match style'), shortcut=QKeySequence('ctrl+shift+v', QKeySequence.SequenceFormat.PortableText))
|
||||||
r('cut', 'edit-cut', _('Cut'), shortcut=QKeySequence.StandardKey.Cut)
|
r('cut', 'edit-cut', _('Cut'), shortcut=QKeySequence.StandardKey.Cut)
|
||||||
r('indent', 'format-indent-more', _('Increase indentation'))
|
r('indent', 'format-indent-more', _('Increase indentation'))
|
||||||
r('outdent', 'format-indent-less', _('Decrease indentation'))
|
r('outdent', 'format-indent-less', _('Decrease indentation'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user