Do not mark the text after opening the file.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Этот коммит содержится в:
родитель
d3bb9de01f
Коммит
54cf8c3ffa
@ -2072,7 +2072,7 @@ edit_insert_file (WEdit * edit, const char *filename)
|
||||
edit_insert (edit, buf[i]);
|
||||
}
|
||||
/* highlight inserted text then not persistent blocks */
|
||||
if (!option_persistent_selections)
|
||||
if (!option_persistent_selections && edit->modified)
|
||||
{
|
||||
edit_set_markers (edit, edit->curs1, current, 0, 0);
|
||||
if (edit->column_highlight)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user