aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 17c403ea..c81f3602 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -305,7 +305,7 @@ constantize_menu_buffer_functions() -- for the first buffer
local _M, keys, buffer, view = _M, keys, buffer, view
local m_editing, utils = _M.textadept.editing, M.utils
-local OSX, CURSES, c = OSX, CURSES, _SCINTILLA.constants
+local OSX, CURSES = OSX, CURSES
-- Windows and Linux key bindings.
--
@@ -516,9 +516,9 @@ if CURSES then keys.mT = keys.mt end -- in case mt is used by GUI terminals
keys[not OSX and (not CURSES and 'cai' or 'mi')
or 'ci'] = m_editing.convert_indentation
-- EOL Mode.
--- TODO: {utils.set_eol_mode, c.SC_EOL_CRLF}
--- TODO: {utils.set_eol_mode, c.SC_EOL_CR}
--- TODO: {utils.set_eol_mode, c.SC_EOL_LF}
+-- TODO: {utils.set_eol_mode, buffer.SC_EOL_CRLF}
+-- TODO: {utils.set_eol_mode, buffer.SC_EOL_CR}
+-- TODO: {utils.set_eol_mode, buffer.SC_EOL_LF}
-- Encoding.
-- TODO: {utils.set_encoding, 'UTF-8'}
-- TODO: {utils.set_encoding, 'ASCII'}
@@ -552,7 +552,7 @@ if not CURSES then
{utils.toggle_property, 'indentation_guides'}
keys[not OSX and 'caS' or 'cS'] = {utils.toggle_property, 'view_ws'}
keys[not OSX and 'caV' or 'cV'] =
- {utils.toggle_property, 'virtual_space_options', c.SCVS_USERACCESSIBLE}
+ {utils.toggle_property, 'virtual_space_options', buffer.SCVS_USERACCESSIBLE}
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