diff options
author | 2013-08-26 22:36:10 -0400 | |
---|---|---|
committer | 2013-08-26 22:36:10 -0400 | |
commit | 92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26 (patch) | |
tree | 53d4645ebc30698f4a782bc76232b0b54fe82507 /modules/textadept/find.lua | |
parent | acda712a50dbebafa295ccd07ce8186d9b82aa10 (diff) | |
download | textadept-92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26.tar.gz textadept-92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26.zip |
Renamed `_M.textadept` to `textadept`; `_M` is for language modules only now.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r-- | modules/textadept/find.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index d4422963..f83c626c 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -373,9 +373,9 @@ function M.goto_file_found(line, next) -- Goto the source of the search result. local file, line_num = buffer:get_cur_line():match('^(.+):(%d+):.+$') if not file then if CURSES then view:goto_buffer(cur_buf) end return end - _M.textadept.editing.select_line() + textadept.editing.select_line() ui.goto_file(file, true, preferred_view) - _M.textadept.editing.goto_line(line_num) + textadept.editing.goto_line(line_num) end events.connect(events.DOUBLE_CLICK, function(pos, line) if is_ff_buf(buffer) then M.goto_file_found(line) end |