diff options
author | 2011-02-28 16:59:56 -0500 | |
---|---|---|
committer | 2011-02-28 16:59:56 -0500 | |
commit | 146faf6242a5dff7f9a7c4f295a1ce32aedbc5b8 (patch) | |
tree | 1ee109dfa5ba053abfaf1d51b273f268adc5e9cd /modules/textadept/bookmarks.lua | |
parent | ade0a0f1ff13bdccb6f0cad13449b2b13eaff70f (diff) | |
download | textadept-146faf6242a5dff7f9a7c4f295a1ce32aedbc5b8.tar.gz textadept-146faf6242a5dff7f9a7c4f295a1ce32aedbc5b8.zip |
Condense language modules into single init.lua file.
Diffstat (limited to 'modules/textadept/bookmarks.lua')
-rw-r--r-- | modules/textadept/bookmarks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua index 072cca67..97121547 100644 --- a/modules/textadept/bookmarks.lua +++ b/modules/textadept/bookmarks.lua @@ -85,7 +85,7 @@ function goto() line = buffer:marker_next(line + 1, 2^MARK_BOOKMARK) until line < 0 local line = gui.filteredlist(L('Select Bookmark'), 'Bookmark', markers) - if line then _m.textadept.editing.goto_line(tonumber(line:match('^%d+'))) end + if line then _m.textadept.editing.goto_line(line:match('^%d+')) end end if buffer then buffer:marker_set_back(MARK_BOOKMARK, MARK_BOOKMARK_COLOR) end |