From 146faf6242a5dff7f9a7c4f295a1ce32aedbc5b8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 28 Feb 2011 16:59:56 -0500 Subject: Condense language modules into single init.lua file. --- modules/textadept/bookmarks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/bookmarks.lua') 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 -- cgit v1.2.3