diff --git a/Versions/day.txt b/Versions/day.txt
index f4146713e..2c36bbdaa 100644
--- a/Versions/day.txt
+++ b/Versions/day.txt
@@ -1 +1 @@
-226
+227
diff --git a/res/Notepad3.exe.manifest.conf b/res/Notepad3.exe.manifest.conf
index f2819d189..15ad99ade 100644
--- a/res/Notepad3.exe.manifest.conf
+++ b/res/Notepad3.exe.manifest.conf
@@ -3,7 +3,7 @@
Notepad3 RC2
diff --git a/scintilla/src/Editor.cxx b/scintilla/src/Editor.cxx
index c6621cf07..1f62caa9a 100644
--- a/scintilla/src/Editor.cxx
+++ b/scintilla/src/Editor.cxx
@@ -4286,13 +4286,14 @@ void Editor::SetDragPosition(SelectionPosition newPos) {
}
if (!(posDrag == newPos)) {
// >>>>>>>>>>>>>>> BEG NON STD SCI PATCH >>>>>>>>>>>>>>>
+ int const slop_x = (caretPolicies.x.slop < 75) ? 75 : caretPolicies.x.slop;
+ int const slop_y = (caretPolicies.y.slop < 3) ? 3 : caretPolicies.y.slop;
const CaretPolicies dragCaretPolicies = {
- CaretPolicy(CARET_SLOP | CARET_STRICT | CARET_EVEN, 50),
- CaretPolicy(CARET_SLOP | CARET_STRICT | CARET_EVEN, 2)
+ CaretPolicy(CARET_SLOP | CARET_STRICT | CARET_EVEN, slop_x),
+ CaretPolicy(CARET_SLOP | CARET_STRICT | CARET_EVEN, slop_y)
};
MovedCaret(newPos, posDrag, true, dragCaretPolicies);
// <<<<<<<<<<<<<<< END NON STD SCI PATCH <<<<<<<<<<<<<<<
-
caret.on = true;
FineTickerCancel(tickCaret);
if ((caret.active) && (caret.period > 0) && (newPos.Position() < 0))
diff --git a/src/VersionEx.h b/src/VersionEx.h
index 77090a66b..31841f295 100644
--- a/src/VersionEx.h
+++ b/src/VersionEx.h
@@ -8,7 +8,7 @@
#define SAPPNAME "Notepad3"
#define VERSION_MAJOR 5
#define VERSION_MINOR 20
-#define VERSION_REV 226
+#define VERSION_REV 227
#define VERSION_BUILD 1
#define SCINTILLA_VER 430
#define ONIGURUMA_REGEX_VER 6.9.4