From bfa2ab88c04040b33d0bda094352e34fcf815716 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Thu, 13 Jun 2019 12:37:37 +0200 Subject: [PATCH] + fix: don't jump to caret position after toggle fold by mouse-click --- Versions/build.txt | 2 +- res/Notepad3.exe.manifest.conf | 2 +- src/Edit.c | 1 - src/VersionEx.h | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Versions/build.txt b/Versions/build.txt index fc5d14627..7f8dea745 100644 --- a/Versions/build.txt +++ b/Versions/build.txt @@ -1 +1 @@ -2251 +2252 diff --git a/res/Notepad3.exe.manifest.conf b/res/Notepad3.exe.manifest.conf index b06959c8a..914ae09c0 100644 --- a/res/Notepad3.exe.manifest.conf +++ b/res/Notepad3.exe.manifest.conf @@ -3,7 +3,7 @@ Notepad3 RC2 diff --git a/src/Edit.c b/src/Edit.c index ea4979867..e88a77bbc 100644 --- a/src/Edit.c +++ b/src/Edit.c @@ -8207,7 +8207,6 @@ void __stdcall EditFoldPerformAction(DocLn ln, int mode, FOLD_ACTION action) else { fToggled = _FoldToggleNode(ln, action); } - if (fToggled) { SciCall_ScrollCaret(); } } diff --git a/src/VersionEx.h b/src/VersionEx.h index 3cb4a73b3..e8f9a0d41 100644 --- a/src/VersionEx.h +++ b/src/VersionEx.h @@ -8,7 +8,7 @@ #define VERSION_MAJOR 5 #define VERSION_MINOR 19 #define VERSION_REV 613 -#define VERSION_BUILD 2251 +#define VERSION_BUILD 2252 #define SCINTILLA_VER 416 #define ONIGMO_REGEX_VER 6.2.0 #define VERSION_PATCH RC2