diff options
author | 2013-06-21 15:00:56 -0400 | |
---|---|---|
committer | 2013-06-21 15:00:56 -0400 | |
commit | 9c40b6e33237b137c46530a25a3560f4b56bc682 (patch) | |
tree | 30a7a586a3525f180aa3c9b2001154aba6a14602 /modules/textadept | |
parent | 004bb689fcd3b945f0ca724ed73f9e1215f6ec34 (diff) | |
download | textadept-9c40b6e33237b137c46530a25a3560f4b56bc682.tar.gz textadept-9c40b6e33237b137c46530a25a3560f4b56bc682.zip |
Remove theme selection since it does not persist.
Encourage calling `gui.set_theme()` from *~/.textadept/init.lua* instead.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/command_entry.lua | 2 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 6 | ||||
-rw-r--r-- | modules/textadept/menu.lua | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 45dd7d3c..4825faa9 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -94,7 +94,7 @@ local env = setmetatable({}, { -- Executes string *code* as Lua code. -- Code is subject to an "abbreviated" environment where the `buffer`, `view`, -- and `gui` tables are also considered as globals. --- Print the results of '=' expressions like in the Lua prompt. +-- Prints the results of '=' expressions like in the Lua prompt. -- @param code The Lua code to execute. -- @name execute_lua function M.execute_lua(code) diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 3470e499..810d6ee0 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -136,7 +136,6 @@ local M = {} -- Ctrl+= |⌘= |N/A |Zoom in -- Ctrl+- |⌘- |N/A |Zoom out -- Ctrl+0 |⌘0 |N/A |Reset zoom --- Ctrl+Shift+T |⌘⇧T |None |Select theme... -- **Help**| | | -- F1 |F1 |None|Open manual -- Shift+F1|⇧F1 |None|Open LuaDoc @@ -301,7 +300,7 @@ local OSX, CURSES, c = OSX, CURSES, _SCINTILLA.constants -- Windows and Linux key bindings. -- -- Unassigned keys (~ denotes keys reserved by the operating system): --- c: A B C H p Q ~ V X Y _ ) ] } + +-- c: A B C H p Q T ~ V X Y _ ) ] } + -- a: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ_ ) ] } *+-/=\n\s -- ca: aAbBcCdD F jJkKlLmM N PqQ t xXy zZ_"'()[]{}<>* / \s -- @@ -316,7 +315,7 @@ local OSX, CURSES, c = OSX, CURSES, _SCINTILLA.constants -- Mac OSX key bindings. -- -- Unassigned keys (~ denotes keys reserved by the operating system): --- m: A B C ~ JkK ~M p ~ t U V XyY _ ) ] } + ~~\n +-- m: A B C ~ JkK ~M p ~ tT U V XyY _ ) ] } + ~~\n -- c: cC D gG H J K L oO qQ xXyYzZ_ ) ] } * / -- cm: aAbBcC~D F ~HiIjJkKlL~MnN pPq~rRsStTuUvVwWxXyYzZ_"'()[]{}<>*+-/=\t\n -- @@ -548,7 +547,6 @@ end keys[not OSX and not CURSES and 'c=' or 'm='] = buffer.zoom_in keys[not OSX and not CURSES and 'c-' or 'm-'] = buffer.zoom_out keys[not OSX and not CURSES and 'c0' or 'm0'] = utils.reset_zoom -if not CURSES then keys[not OSX and 'cT' or 'mT'] = gui.set_theme end -- Help. if not CURSES then diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index bf5b28e4..c7babf8d 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -184,8 +184,6 @@ local menubar = { {_L['Zoom _In'], buffer.zoom_in}, {_L['Zoom _Out'], buffer.zoom_out}, {_L['_Reset Zoom'], utils.reset_zoom}, - SEPARATOR, - {_L['Select _Theme...'], gui.set_theme}, }, { title = _L['_Help'], {_L['Show _Manual'], |