diff options
author | 2009-03-01 18:16:38 -0500 | |
---|---|---|
committer | 2009-03-01 18:16:38 -0500 | |
commit | 891bee0e40f31907e11333dadf7adf4b897250ee (patch) | |
tree | 5989e73850affd625f16c6185d7430f8798dd018 /core/ext/pm | |
parent | 91ad8cd1c8843d3e2b996b2af1884c3b128bf0bb (diff) | |
download | textadept-891bee0e40f31907e11333dadf7adf4b897250ee.tar.gz textadept-891bee0e40f31907e11333dadf7adf4b897250ee.zip |
Ignore null byte for specific Scintilla messages; use buffer:get_text() again.
Diffstat (limited to 'core/ext/pm')
-rw-r--r-- | core/ext/pm/ctags_browser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ext/pm/ctags_browser.lua b/core/ext/pm/ctags_browser.lua index a0d8aaa2..23556f68 100644 --- a/core/ext/pm/ctags_browser.lua +++ b/core/ext/pm/ctags_browser.lua @@ -211,7 +211,7 @@ function perform_action(selected_item) if item.children then item = item.children end end if item.pattern then - local buffer_text = buffer:text_range(0, buffer.length) + local buffer_text = buffer:get_text(buffer.length) local search_text = item.pattern:gsub('\\/', '/') local s = buffer_text:find(search_text, 1, true) if s then |