From 1b838cf85a984ad4fecbe8629120b9efe9cbb191 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 10 May 2011 15:34:47 -0500 Subject: [PATCH] add c:x;t as a keybinding for the latex shortcuts closes PR 11871 --- collects/framework/private/keymap.rkt | 1 + collects/scribblings/drracket/keybindings.scrbl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/collects/framework/private/keymap.rkt b/collects/framework/private/keymap.rkt index d5980a8fde..5319d82adf 100644 --- a/collects/framework/private/keymap.rkt +++ b/collects/framework/private/keymap.rkt @@ -1166,6 +1166,7 @@ (map "~m:c:\\" "TeX compress") (map "~c:m:\\" "TeX compress") + (map "c:x;t" "TeX compress") (map "c:j" "newline") diff --git a/collects/scribblings/drracket/keybindings.scrbl b/collects/scribblings/drracket/keybindings.scrbl index 6b32c6949b..f6ef0ab91f 100644 --- a/collects/scribblings/drracket/keybindings.scrbl +++ b/collects/scribblings/drracket/keybindings.scrbl @@ -174,7 +174,7 @@ as the @tech{definitions window} plus a few more: @section{LaTeX and TeX inspired keybindings} @itemize[ -@keybinding['("C-\\" "M-\\")]{traces backwards from the insertion +@keybinding['("C-\\" "M-\\" "c:x;l")]{traces backwards from the insertion point, looking for a backslash followed by a @index["LaTeX"]{LaTeX} macro name or a prefix of such a name. If a macro name is found, it replaces the backslash and the name with the corresponding key in