We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddf0299 commit bcd96c8Copy full SHA for bcd96c8
modules/textadept/run.lua
@@ -422,7 +422,7 @@ function M.goto_error(location)
422
local sloppy = not filename:find(not WIN32 and '^/' or '^%a?:?[/\\][/\\]?')
423
ui.goto_file(filename, true, preferred_view, sloppy)
424
textadept.editing.goto_line(line)
425
- if column then buffer:goto_pos(buffer:find_column(line, column)) end
+ if column then buffer:goto_pos(buffer:position_relative(buffer.current_pos, column - 1)) end
426
if not message then return end
427
buffer.annotation_text[line] = message
428
if buffer.line_state[line_num] > 1 then return end -- non-error
0 commit comments