diff options
author | 2018-04-25 22:52:33 -0400 | |
---|---|---|
committer | 2018-04-25 22:52:33 -0400 | |
commit | 5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39 (patch) | |
tree | a66ddc4caf4b8a9509330433571d586a6843fe27 /core/ui.lua | |
parent | 795f72c6d49c0566517a43808ce7aaf405220f31 (diff) | |
download | textadept-5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39.tar.gz textadept-5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39.zip |
Removed LuaJIT version of Textadept.
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
Diffstat (limited to 'core/ui.lua')
-rw-r--r-- | core/ui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ui.lua b/core/ui.lua index b725c900..e60e497c 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -307,7 +307,7 @@ end) local GETLEXERLANGUAGE = _SCINTILLA.properties.lexer_language[1] -- Sets buffer statusbar text. events_connect(events.UPDATE_UI, function(updated) - if updated and bit32.band(updated, 3) == 0 then return end -- ignore scrolling + if updated and updated & 3 == 0 then return end -- ignore scrolling local pos = buffer.current_pos local line, max = buffer:line_from_position(pos) + 1, buffer.line_count local col = buffer.column[pos] + 1 |