diff options
author | 2009-08-06 16:53:34 -0400 | |
---|---|---|
committer | 2009-08-06 16:53:34 -0400 | |
commit | c40619890e0dbe71a8668609d0f6ffb32f0781c6 (patch) | |
tree | 742dd5b7bb6b20725e0005c89ec93b595c8c10af /modules | |
parent | 6f6e68070377c04d54c41f1b7ecce580f4f5d927 (diff) | |
download | textadept-c40619890e0dbe71a8668609d0f6ffb32f0781c6.tar.gz textadept-c40619890e0dbe71a8668609d0f6ffb32f0781c6.zip |
Fixed bug introduced during refactoring; modules/textadept/lsnippets.lua
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/lsnippets.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/lsnippets.lua b/modules/textadept/lsnippets.lua index a4e4abf3..3696874b 100644 --- a/modules/textadept/lsnippets.lua +++ b/modules/textadept/lsnippets.lua @@ -193,6 +193,7 @@ end -- the next placeholder or tab stop. -- @return false if no snippet was expanded; nil otherwise local function next_tab_stop() + if not snippet.index then return false end -- no snippet active local buffer = buffer local s_start, s_end, s_text = snippet_info() if not s_text then |