[latexila] Easier keyboard shortcuts for bold, italic and underline
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Easier keyboard shortcuts for bold, italic and underline
- Date: Fri, 24 Feb 2017 11:45:43 +0000 (UTC)
commit 97139be33162fb9d4d1d9679f7f76f7d6d7a4008
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Feb 24 12:38:35 2017 +0100
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
src/latex_menu.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/latex_menu.vala b/src/latex_menu.vala
index a451abf..2a0b7b2 100644
--- a/src/latex_menu.vala
+++ b/src/latex_menu.vala
@@ -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") },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]