revert parser stuff from enhenced patch
[nedit-bw.git] / fix_goto_matching.patch
blob5a02e12309d6557982df7372c96eb472b524e3f8
1 ---
3 source/search.c | 3 +++
4 1 files changed, 3 insertions(+)
6 diff --quilt old/source/search.c new/source/search.c
7 --- old/source/search.c
8 +++ new/source/search.c
9 @@ -3420,11 +3420,14 @@ void SelectToMatchingCharacter(WindowInf
11 startPos = (matchPos > selStart) ? selStart : matchPos;
12 endPos = (matchPos > selStart) ? matchPos : selStart;
14 /* select the text between the matching characters */
15 + XtVaSetValues(window->lastFocus, textNautoShowInsertPos, False, NULL);
16 BufSelect(buf, startPos, endPos+1);
17 + MakeSelectionVisible(window, window->lastFocus);
18 + XtVaSetValues(window->lastFocus, textNautoShowInsertPos, True, NULL);
21 void GotoMatchingCharacter(WindowInfo *window)
23 int selStart, selEnd;