aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/bookmarks.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-11-23 08:22:55 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-11-23 08:22:55 -0500
commit6d8d01a364ba9786b7f9698840ba60e769954808 (patch)
tree19afb5afac0889d6c1a92bb2c33ee551f902a134 /modules/textadept/bookmarks.lua
parentf1db4cacfe3aa49ac03e50f05ea522e69b1a0b63 (diff)
downloadtextadept-6d8d01a364ba9786b7f9698840ba60e769954808.tar.gz
textadept-6d8d01a364ba9786b7f9698840ba60e769954808.zip
Code cleanup.
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 fdf6b8b2..0e6ab017 100644
--- a/modules/textadept/bookmarks.lua
+++ b/modules/textadept/bookmarks.lua
@@ -78,7 +78,7 @@ function goto()
if line == -1 then return end
repeat
local text = buffer:get_line(line):sub(1, -2) -- chop \n
- markers[#markers + 1] = table.concat({ line + 1, text }, ': ')
+ markers[#markers + 1] = tostring(line + 1)..': '..text
line = buffer:marker_next(line + 1, 2^MARK_BOOKMARK)
until line < 0
local line = gui.filteredlist(L('Select Bookmark'), 'Bookmark', markers)