diff options
author | 2017-11-07 17:30:50 -0500 | |
---|---|---|
committer | 2017-11-07 17:30:50 -0500 | |
commit | 6fac4c8c0c5b5254ccd08667bee10d177080225d (patch) | |
tree | 88992c45a394af76d6cebc77943f68f2699c9c60 /core/ui.lua | |
parent | 3ba9f505933cc9fb7e8ccf6e0cf04740235c2816 (diff) |
No need to manually set codepage to UTF-8, now that it's Scintilla's default.
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/ui.lua b/core/ui.lua index a0474e04..fa45eac9 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -338,7 +338,6 @@ local SETLUASTATE = _SCINTILLA.functions.change_lexer_state[1] local SETLEXERLANGUAGE = _SCINTILLA.properties.lexer_language[2] -- Sets default properties for a Scintilla document. events_connect(events.BUFFER_NEW, function() - buffer.code_page = buffer.CP_UTF8 buffer.lexer_language = 'lpeg' buffer:private_lexer_call(SETDIRECTFUNCTION, buffer.direct_function) buffer:private_lexer_call(SETDIRECTPOINTER, buffer.direct_pointer) |