fix: problem when flag Persistent selection swiched off then text not marked

by F3 + arrows
This commit is contained in:
Ilia Maslakov 2009-03-31 10:39:00 +00:00
parent a8eb299506
commit 3a161f9576

View File

@ -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: