Commit 97139be3 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

Easier keyboard shortcuts for bold, italic and underline

<Alt><Shift>B/I are difficult to type, I don't know where those
shortcuts come from, probably from Kile. <Control>B/I/U are free, and
those are the usual shortcuts for bold/italic/underline, so set those
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=779125
parent d51d690a
......@@ -128,9 +128,9 @@ public class LatexMenu : Gtk.ActionGroup
// LaTeX: font styles
{ "FontStyles", "bold", N_("_Font Styles") },
{ "Bold", "bold", "\\text_bf", "<Alt><Shift>B",
{ "Bold", "bold", "\\text_bf", "<Control>B",
N_("Bold - \\textbf"), on_text_bold },
{ "Italic", "italic", "\\text_it", "<Alt><Shift>I",
{ "Italic", "italic", "\\text_it", "<Control>I",
N_("Italic - \\textit"), on_text_italic },
{ "Typewriter", "typewriter", "\\text_tt", "<Alt><Shift>T",
N_("Typewriter - \\texttt"), on_text_typewriter },
......@@ -142,7 +142,7 @@ public class LatexMenu : Gtk.ActionGroup
N_("Sans Serif - \\textsf"), on_text_sans_serif },
{ "Emph", null, "\\_emph", "<Control>E",
N_("Emphasized - \\emph"), on_text_emph },
{ "Underline", "underline", "\\_underline", null,
{ "Underline", "underline", "\\_underline", "<Control>U",
N_("Underline - \\underline"), on_text_underline },
{ "FontFamily", null, N_("_Font Family") },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment