aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-04-19 16:41:53 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2013-04-19 16:41:53 -0400
commit28a106399af4f8136bc61b3f0e4d4a8306e10412 (patch)
treee9461debf892e4b2c303df37b1ee9025dc69f06c
parent29d0487b271648fd1999a9325226ac1d8d5467a7 (diff)
Updated some documentation.
-rw-r--r--doc/10_Advanced.md12
-rw-r--r--modules/textadept/keys.lua2
2 files changed, 13 insertions, 1 deletions
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