aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/bookmarks.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-02-28 16:59:56 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-02-28 16:59:56 -0500
commit146faf6242a5dff7f9a7c4f295a1ce32aedbc5b8 (patch)
tree1ee109dfa5ba053abfaf1d51b273f268adc5e9cd /modules/textadept/bookmarks.lua
parentade0a0f1ff13bdccb6f0cad13449b2b13eaff70f (diff)
downloadtextadept-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.lua2
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