File: ctrl-comma-subscript.diff

package info (click to toggle)
abiword 3.0.7~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,684 kB
  • sloc: cpp: 477,933; ansic: 16,754; makefile: 5,833; xml: 3,993; yacc: 1,818; lex: 1,104; perl: 812; python: 413; php: 183; sh: 160
file content (16 lines) | stat: -rw-r--r-- 862 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Make ctrl-comma (C-,) a shortcut for subscript text
Author: Patrik Fimml <patrik@fimml.at>
Last-Update: 2020-06-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/wp/ap/xp/ap_LB_Default.cpp
+++ b/src/wp/ap/xp/ap_LB_Default.cpp
@@ -480,7 +480,7 @@
 	{0x29, /* )      */ { "insertClosingParenthesis","",			"",				""					}},
 	{0x2a, /* *      */ { "insertData",			"viewPara",			"",				""					}},
 	{0x2b, /* +      */ { "insertData",			"zoomIn",			"",				""					}},
-	{0x2c, /* ,      */ { "insertData",			"",					"",				""					}},
+	{0x2c, /* ,      */ { "insertData",			"toggleSub",					"",				""					}},
 	{0x2d, /* -      */ { "insertData",			"zoomOut",			"",				""					}},
 	{0x2e, /* .      */ { "insertData",			"pasteSpecial",		"",				""					}},
 	{0x2f, /* /      */ { "insertData",			"",					"",				""					}},