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

View File

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