aboutsummaryrefslogtreecommitdiff
path: root/themes/light/view.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-01-10 17:31:21 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-01-10 17:31:21 -0500
commitac698c5ea71d26e56289a18e664c6f8be1aa56c5 (patch)
treee683366e29ff29e8c0ebff54731ff505c201a6ff /themes/light/view.lua
parent0194a626fcb17bcb037341fc6c2f586f54d26035 (diff)
downloadtextadept-ac698c5ea71d26e56289a18e664c6f8be1aa56c5.tar.gz
textadept-ac698c5ea71d26e56289a18e664c6f8be1aa56c5.zip
Various improvements to speed and readability of Lua code.
Added 'local textadept = _G.textadept' to all Lua modules, themes, etc. Added more locals to core/ext/keys.lua for speed improvement. Reformatted some Lua modules to the earlier standard committed.
Diffstat (limited to 'themes/light/view.lua')
-rw-r--r--themes/light/view.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/light/view.lua b/themes/light/view.lua
index 3065fc67..99ce21e6 100644
--- a/themes/light/view.lua
+++ b/themes/light/view.lua
@@ -1,7 +1,9 @@
-- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-- Light editor theme for Textadept.
-local c, buffer = textadept.constants, buffer
+local textadept = _G.textadept
+local c = textadept.constants
+local buffer = buffer
-- caret
buffer.caret_fore = 3355443 -- 0x33 | 0x33 << 8 | 0x33 << 16