mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
fix: problem when flag Persistent selection swiched off then text not marked
by F3 + arrows
This commit is contained in:
parent
a8eb299506
commit
3a161f9576
@ -2213,6 +2213,7 @@ edit_execute_cmd (WEdit *edit, int command, int char_for_insertion)
|
||||
edit_find_bracket (edit);
|
||||
return;
|
||||
}
|
||||
|
||||
switch (command) {
|
||||
case CK_Begin_Page:
|
||||
case CK_End_Page:
|
||||
@ -2224,6 +2225,7 @@ edit_execute_cmd (WEdit *edit, int command, int char_for_insertion)
|
||||
case CK_Down:
|
||||
case CK_Left:
|
||||
case CK_Right:
|
||||
if ( edit->mark2 >= 0 ) {
|
||||
if ( !option_persistent_selections ) {
|
||||
if (column_highlighting)
|
||||
edit_push_action (edit, COLUMN_ON);
|
||||
@ -2231,6 +2233,8 @@ edit_execute_cmd (WEdit *edit, int command, int char_for_insertion)
|
||||
edit_mark_cmd (edit, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch (command) {
|
||||
case CK_Begin_Page:
|
||||
case CK_End_Page:
|
||||
|
Loading…
Reference in New Issue
Block a user