aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-11-11 23:27:51 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2014-11-11 23:27:51 -0500
commitf4cc2ff3bdac044f30bc08cdd3ca283db825b4b8 (patch)
tree13699c014725faf8eefb1a9072bafc92454b1fdd /modules/textadept/editing.lua
parent74d743ea868ea0cfa1785eddc226b370ea1e26cb (diff)
downloadtextadept-f4cc2ff3bdac044f30bc08cdd3ca283db825b4b8.tar.gz
textadept-f4cc2ff3bdac044f30bc08cdd3ca283db825b4b8.zip
Added new `_SCINTILLA.next_image_type()` for registering images.
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index cfc03f73..cd5f0a92 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -70,6 +70,7 @@ events.connect(events.VIEW_NEW, function()
if type(name) == 'string' then buffer:register_image(i, M.XPM_IMAGES[i]) end
end
end)
+for i = 1, #M.XPM_IMAGES do _SCINTILLA.next_image_type() end -- sync
---
-- Map of lexer names to line comment strings for programming languages, used by