diff options
author | 2020-06-10 17:12:28 -0400 | |
---|---|---|
committer | 2020-06-10 17:12:28 -0400 | |
commit | 290d3fec717baf7973fce3e43fb03ac4f126880c (patch) | |
tree | b777187d8b1be41bc133ca74d4d3abf7f429e40d /modules/textadept/file_types.lua | |
parent | 1db240f243f6263dc2f85b9a65c0f9615e3c7cf9 (diff) | |
download | textadept-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.lua | 2 |
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. |