diff options
Diffstat (limited to 'themes/scite/view.lua')
-rw-r--r-- | themes/scite/view.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/scite/view.lua b/themes/scite/view.lua index ff068f39..86e1c95f 100644 --- a/themes/scite/view.lua +++ b/themes/scite/view.lua @@ -1,7 +1,9 @@ -- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE. -- SciTE editor theme for Textadept. -local buffer, c = buffer, textadept.constants +local textadept = _G.textadept +local c = textadept.constants +local buffer = buffer buffer.margin_width_n[0] = 4 * buffer:text_width(c.STYLE_LINENUMBER, "9") |