mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-26 20:24:20 +03:00
update_panels (UP_OPTIMIZE, UP_KEEPSEL); instead of reread after editing a file with F4
This commit is contained in:
parent
66eb02ef08
commit
37541330f9
@ -1,3 +1,8 @@
|
||||
Mon Jan 18 21:23:29 1999 Paul Sheer <psheer@obsidian.co.za>
|
||||
|
||||
* cmd.c: update_panels (UP_OPTIMIZE, UP_KEEPSEL); instead
|
||||
of reread after editing a file.
|
||||
|
||||
1999-01-18 Arturo Espinosa <arturo@nuclecu.unam.mx>
|
||||
|
||||
* file.c: Use N_ instead of _ for some of miguel's last tags.
|
||||
|
@ -326,7 +326,7 @@ void do_edit_at_line (const char *what, int start_line)
|
||||
#ifdef USE_INTERNAL_EDIT
|
||||
if (use_internal_edit){
|
||||
edit (what, start_line);
|
||||
reread_cmd ();
|
||||
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
@ -336,7 +336,7 @@ void do_edit_at_line (const char *what, int start_line)
|
||||
editor = get_default_editor ();
|
||||
}
|
||||
execute_internal (editor, what);
|
||||
reread_cmd ();
|
||||
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user