[LyX/master] Fix bindings for ellipsis and end-of-sentence-period

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Mar 15 17:02:06 UTC 2023


commit 6572a3f1410295a7b8d2ec5fffb61f77f89a6e8d
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Wed Mar 15 19:04:36 2023 +0100

    Fix bindings for ellipsis and end-of-sentence-period
    
    On some keyboards, `period' is only accessible with the shift modifier.
---
 lib/bind/cua.bind    |    4 ++--
 lib/bind/emacs.bind  |    4 ++--
 lib/bind/mac.bind    |    4 ++--
 lib/bind/xemacs.bind |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/bind/cua.bind b/lib/bind/cua.bind
index ac4236a..2cee7ed 100644
--- a/lib/bind/cua.bind
+++ b/lib/bind/cua.bind
@@ -236,8 +236,8 @@ Format 5
 \bind "nobreakspace"		"space-insert protected"
 \bind "C-M-space"		"space-insert normal"
 \bind "S-C-space"		"space-insert thin"
-\bind "C-period"		"specialchar-insert end-of-sentence"
-\bind "M-period"		"specialchar-insert dots"
+\bind "C-~S-period"		"specialchar-insert end-of-sentence"
+\bind "M-~S-period"		"specialchar-insert dots"
 \bind "Escape"			"cancel"
 \bind "F9"			"meta-prefix"
 
diff --git a/lib/bind/emacs.bind b/lib/bind/emacs.bind
index dec719b..6d31f8b 100644
--- a/lib/bind/emacs.bind
+++ b/lib/bind/emacs.bind
@@ -239,8 +239,8 @@ Format 5
 \bind "C-M-space"		"space-insert normal"
 \bind "S-C-space"		"space-insert thin"
 \bind "M-~S-slash"		"specialchar-insert slash"
-\bind "C-period"		"specialchar-insert end-of-sentence"
-\bind "M-period"		"specialchar-insert dots"
+\bind "C-~S-period"		"specialchar-insert end-of-sentence"
+\bind "M-~S-period"		"specialchar-insert dots"
 \bind "M-w"			"copy"
 \bind "Escape"			"meta-prefix"
 \bind "M-u"			"word-upcase partial"
diff --git a/lib/bind/mac.bind b/lib/bind/mac.bind
index 5d9b397..7e4dc93 100644
--- a/lib/bind/mac.bind
+++ b/lib/bind/mac.bind
@@ -358,8 +358,8 @@ Format 5
 \bind "C-A-space"                    "space-insert normal"
 \bind "S-A-space"                    "space-insert thin"
 \bind "C-~S-slash"                   "specialchar-insert slash"
-\bind "C-period"                     "specialchar-insert end-of-sentence"
-\bind "M-period"                     "specialchar-insert dots"
+\bind "C-~S-period"                  "specialchar-insert end-of-sentence"
+\bind "M-~S-period"                  "specialchar-insert dots"
 \bind "Escape"                       "cancel"
 \bind "C-M-Up"                       "command-alternatives outline-up; paragraph-move-up; tabular-feature move-row-up"
 \bind "C-M-Down"                     "command-alternatives outline-down; paragraph-move-down; tabular-feature move-row-down"
diff --git a/lib/bind/xemacs.bind b/lib/bind/xemacs.bind
index 135b133..ad36a4f 100644
--- a/lib/bind/xemacs.bind
+++ b/lib/bind/xemacs.bind
@@ -233,8 +233,8 @@ Format 5
 \bind "C-M-space"		"space-insert normal"
 \bind "S-C-space"		"space-insert thin"
 \bind "M-~S-slash"		"specialchar-insert slash"
-\bind "C-period"		"specialchar-insert end-of-sentence"
-\bind "M-period"		"specialchar-insert dots"
+\bind "C-~S-period"		"specialchar-insert end-of-sentence"
+\bind "M-~S-period"		"specialchar-insert dots"
 \bind "M-w"			"copy"
 \bind "Escape"			"meta-prefix"
 \bind "M-u"			"word-upcase partial"


More information about the lyx-cvs mailing list