diff -u -r .a/src/editor.c .b/src/editor.c --- .a/src/editor.c 2018-02-11 00:09:10.617507087 +0300 +++ .b/src/editor.c 2018-02-13 01:46:46.708312919 +0300 @@ -4704,8 +4704,11 @@ line_no = current_line + line_no; } - pos = sci_get_position_from_line(editor->sci, line_no); - return editor_goto_pos(editor, pos, TRUE); + sci_marker_delete_all(editor->sci, 0); + sci_set_marker_at_line(editor->sci, line_no, 0); + sci_goto_line(editor->sci, line_no, TRUE); + document_show_tab(editor->document); + return TRUE; }