aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/mime_types.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-07-21 12:37:00 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-07-21 12:37:00 -0400
commit03f166897801c29e9357bce3214f02502eb7f252 (patch)
tree4066fae87259848d7d488bd39871964f6fd510fa /modules/textadept/mime_types.lua
parent5a50a7e55b870ae66a6bb69fcd3a7bd1841f3d9b (diff)
downloadtextadept-03f166897801c29e9357bce3214f02502eb7f252.tar.gz
textadept-03f166897801c29e9357bce3214f02502eb7f252.zip
Converted some `buffer` "get" and "set" functions into properties.
Also updated to Scintilla 3.2.1.
Diffstat (limited to 'modules/textadept/mime_types.lua')
-rw-r--r--modules/textadept/mime_types.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua
index 9efbbec9..00791efd 100644
--- a/modules/textadept/mime_types.lua
+++ b/modules/textadept/mime_types.lua
@@ -111,7 +111,7 @@ end
-- @name ws_styles
local ws_styles = {}
local SETDIRECTPOINTER = _SCINTILLA.properties.doc_pointer[2]
-local SETLEXERLANGUAGE = _SCINTILLA.functions.set_lexer_language[1]
+local SETLEXERLANGUAGE = _SCINTILLA.properties.lexer_language[2]
-- LuaDoc is in core/.buffer.luadoc.
local function set_lexer(buffer, lang)
buffer:check_global()
@@ -135,7 +135,7 @@ local function set_lexer(buffer, lang)
ws_styles[lang] = ws
end
-local GETLEXERLANGUAGE = _SCINTILLA.functions.get_lexer_language[1]
+local GETLEXERLANGUAGE = _SCINTILLA.properties.lexer_language[1]
-- LuaDoc is in core/.buffer.luadoc.
local function get_lexer(buffer, current)
buffer:check_global()