mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* edit/edit.c (edit_execute_cmd): Update the bracket pair highlighter
state after processing CK_Find, CK_Find_Again, CK_Replace, CK_Replace_Again, CK_Complete_Word.
This commit is contained in:
parent
cfdc950171
commit
bb2231fd1b
@ -1,3 +1,9 @@
|
|||||||
|
2007-01-04 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* edit.c (edit_execute_cmd): Update the bracket pair highlighter
|
||||||
|
state after processing CK_Find, CK_Find_Again, CK_Replace,
|
||||||
|
CK_Replace_Again, CK_Complete_Word.
|
||||||
|
|
||||||
2006-12-10 Pavel Tsekov <ptsekov@gmx.net>
|
2006-12-10 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
* edit.h (edit_move_to_prev_col): Declare the function to have
|
* edit.h (edit_move_to_prev_col): Declare the function to have
|
||||||
|
@ -2600,7 +2600,7 @@ edit_execute_cmd (WEdit *edit, int command, int char_for_insertion)
|
|||||||
case CK_Replace_Again:
|
case CK_Replace_Again:
|
||||||
case CK_Complete_Word:
|
case CK_Complete_Word:
|
||||||
edit->prev_col = edit_get_col (edit);
|
edit->prev_col = edit_get_col (edit);
|
||||||
return;
|
break;
|
||||||
case CK_Up:
|
case CK_Up:
|
||||||
case CK_Up_Highlight:
|
case CK_Up_Highlight:
|
||||||
case CK_Down:
|
case CK_Down:
|
||||||
@ -2623,8 +2623,7 @@ edit_execute_cmd (WEdit *edit, int command, int char_for_insertion)
|
|||||||
case CK_Scroll_Down_Highlight:
|
case CK_Scroll_Down_Highlight:
|
||||||
edit->search_start = edit->curs1;
|
edit->search_start = edit->curs1;
|
||||||
edit->found_len = 0;
|
edit->found_len = 0;
|
||||||
edit_find_bracket (edit);
|
break;
|
||||||
return;
|
|
||||||
default:
|
default:
|
||||||
edit->found_len = 0;
|
edit->found_len = 0;
|
||||||
edit->prev_col = edit_get_col (edit);
|
edit->prev_col = edit_get_col (edit);
|
||||||
|
Loading…
Reference in New Issue
Block a user