indenting, commenting: ensure a partial line stays displayed properly
Do the same as in the previous commit: re-evaluate the start of the viewport when lines that are located above this viewport may have changed. This is relevant when softwrap is on.
Этот коммит содержится в:
родитель
1c707d4f99
Коммит
baca8bb19e
@ -167,6 +167,7 @@ void do_indent(void)
|
||||
free(indentation);
|
||||
|
||||
set_modified();
|
||||
ensure_firstcolumn_is_aligned();
|
||||
refresh_needed = TRUE;
|
||||
shift_held = TRUE;
|
||||
}
|
||||
@ -428,6 +429,7 @@ void do_comment(void)
|
||||
}
|
||||
|
||||
set_modified();
|
||||
ensure_firstcolumn_is_aligned();
|
||||
refresh_needed = TRUE;
|
||||
shift_held = TRUE;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user