aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/file_types.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-06-10 17:12:28 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-06-10 17:12:28 -0400
commit290d3fec717baf7973fce3e43fb03ac4f126880c (patch)
treeb777187d8b1be41bc133ca74d4d3abf7f429e40d /modules/textadept/file_types.lua
parent1db240f243f6263dc2f85b9a65c0f9615e3c7cf9 (diff)
downloadtextadept-290d3fec717baf7973fce3e43fb03ac4f126880c.tar.gz
textadept-290d3fec717baf7973fce3e43fb03ac4f126880c.zip
Renamed some buffer/view fields to use American English instead of Australian.
This requires theme updates, primarily due to colour -> color.
Diffstat (limited to 'modules/textadept/file_types.lua')
-rw-r--r--modules/textadept/file_types.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/file_types.lua b/modules/textadept/file_types.lua
index 34ae1dae..12b2a782 100644
--- a/modules/textadept/file_types.lua
+++ b/modules/textadept/file_types.lua
@@ -71,7 +71,7 @@ local function set_lexer(buffer, lang)
if package.searchpath(lang, package.path) then _M[lang] = require(lang) end
if buffer ~= ui.command_entry then events.emit(events.LEXER_LOADED, lang) end
local last_line = view.first_visible_line + view.lines_on_screen
- buffer:colourise(1, buffer:position_from_line(last_line + 1)) -- refresh
+ buffer:colorize(1, buffer:position_from_line(last_line + 1)) -- refresh
end
-- Gives new buffers lexer-specific functions.