mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix inverted sub/superscript shortcuts (#720)
This commit is contained in:
parent
7957dff33f
commit
3be7c998fc
1 changed files with 4 additions and 4 deletions
|
@ -409,10 +409,10 @@ class Editor(object):
|
||||||
check=True)
|
check=True)
|
||||||
b("text_under", self.toggleUnderline, _("Ctrl+U"),
|
b("text_under", self.toggleUnderline, _("Ctrl+U"),
|
||||||
_("Underline text (Ctrl+U)"), check=True)
|
_("Underline text (Ctrl+U)"), check=True)
|
||||||
b("text_super", self.toggleSuper, _("Ctrl+="),
|
b("text_super", self.toggleSuper, _("Ctrl+Shift+="),
|
||||||
_("Superscript (Ctrl+=)"), check=True)
|
_("Superscript (Ctrl+Shift+=)"), check=True)
|
||||||
b("text_sub", self.toggleSub, _("Ctrl+Shift+="),
|
b("text_sub", self.toggleSub, _("Ctrl+="),
|
||||||
_("Subscript (Ctrl+Shift+=)"), check=True)
|
_("Subscript (Ctrl+=)"), check=True)
|
||||||
b("text_clear", self.removeFormat, _("Ctrl+R"),
|
b("text_clear", self.removeFormat, _("Ctrl+R"),
|
||||||
_("Remove formatting (Ctrl+R)"))
|
_("Remove formatting (Ctrl+R)"))
|
||||||
but = b("foreground", self.onForeground, _("F7"), text=" ")
|
but = b("foreground", self.onForeground, _("F7"), text=" ")
|
||||||
|
|
Loading…
Reference in a new issue