1
0
mirror of git://git.sv.gnu.org/nano.git synced 2025-03-11 11:03:02 +03:00

linting: treat a tab as one "column", not eight

This fixes https://savannah.gnu.org/bugs/?47131.
This commit is contained in:
Benno Schulenberg 2017-04-10 19:59:54 +02:00
parent dab70d06ed
commit 2439e1e451

@ -3306,8 +3306,9 @@ void do_linter(void)
} }
} }
#endif /* !NANO_TINY */ #endif /* !NANO_TINY */
do_gotolinecolumn(curlint->lineno, curlint->colno, FALSE, FALSE); goto_line_posx(curlint->lineno, curlint->colno - 1);
titlebar(NULL); titlebar(NULL);
adjust_viewport(CENTERING);
edit_refresh(); edit_refresh();
statusbar(curlint->msg); statusbar(curlint->msg);
bottombars(MLINTER); bottombars(MLINTER);