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

This fixes https://savannah.gnu.org/bugs/?47131.
master
Benno Schulenberg 2017-04-10 19:59:54 +02:00
parent dab70d06ed
commit 2439e1e451
1 changed files with 2 additions and 1 deletions

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);