From 28a106399af4f8136bc61b3f0e4d4a8306e10412 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 19 Apr 2013 16:41:53 -0400 Subject: Updated some documentation. --- doc/10_Advanced.md | 12 ++++++++++++ modules/textadept/keys.lua | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/10_Advanced.md b/doc/10_Advanced.md index ecf5bc01..7a37f9f4 100644 --- a/doc/10_Advanced.md +++ b/doc/10_Advanced.md @@ -74,3 +74,15 @@ The standard input (stdin) for shell commands is determined as follows: * If no text is selected, the entire buffer is used. The input text is replaced with the standard output (stdout) of the command. + +## Remote Control + +Since Textadept can execute arbitrary Lua code passed via the `-e` and +`--execute` command line switches, a side-effect of [single instance][] +functionality on the platforms that support it is that you can remotely control +the original instance. For example: + + ta ~/.textadept/init.lua & + ta -e "events.emit(events.FIND, 'require')" + +[single instance]: 02_Installation.html#Single.Instance diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index b522f48b..30076eaf 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -344,7 +344,7 @@ local utils = M.utils -- For ncurses (Linux, Mac OSX, BSD): -- * The only Control keys recognized are 'ca'-'cz', 'c@', 'c\\', 'c]', 'c^', -- and 'c_'. --- * Control+Shift and Control+Shift+Meta keys are not recognized. +-- * Control+Shift and Control+Meta+Shift keys are not recognized. -- * Modifiers for function keys F1-F12 are not recognized. -- For pdcurses (Win32): -- * Control+Shift+Letter keys are not recognized. Other Control+Shift keys -- cgit v1.2.3