From 8ca5769bada0bbb3f1ab24a03a8a966c0017e81b Mon Sep 17 00:00:00 2001
From: mitchell <70453897+667e-11@users.noreply.github.com>
Date: Thu, 25 Jan 2018 09:43:47 -0500
Subject: Backported `buffer.move_extends_selection` from upstream Scintilla.
---
src/scintilla_backports/6418_85205da6ec1b.patch | 79 +++++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 src/scintilla_backports/6418_85205da6ec1b.patch
(limited to 'src/scintilla_backports')
diff --git a/src/scintilla_backports/6418_85205da6ec1b.patch b/src/scintilla_backports/6418_85205da6ec1b.patch
new file mode 100644
index 00000000..19db1d1f
--- /dev/null
+++ b/src/scintilla_backports/6418_85205da6ec1b.patch
@@ -0,0 +1,79 @@
+# HG changeset patch
+# User Mitchell
+# Date 1511141091 -39600
+# Node ID 85205da6ec1b8eeb14c3edc94064fb0d8f685377
+# Parent f78045efae202c3da36b6f347cc695da44a1d522
+Add SCI_GETMOVEEXTENDSSELECTION.
+
+diff -r f78045efae20 -r 85205da6ec1b doc/ScintillaDoc.html
+--- a/doc/ScintillaDoc.html Mon Nov 20 11:48:00 2017 +1100
++++ b/doc/ScintillaDoc.html Mon Nov 20 12:24:51 2017 +1100
+@@ -1222,6 +1222,7 @@
+
+
+
++
+
+
+
+@@ -1425,6 +1426,10 @@
+ SC_SEL_THIN
is the mode after a rectangular selection has been typed into and ensures
+ that no characters are selected.
SCI_GETMOVEEXTENDSSELECTION → bool
++ This returns 1 if regular caret moves will extend or reduce the selection, 0 if not.
++ SCI_SETSELECTIONMODE
toggles this setting between on and off.
SCI_GETLINESELSTARTPOSITION(int line) → position
+ SCI_GETLINESELENDPOSITION(int line) → position
+ Retrieve the position of the start and end of the selection at the given line with
+diff -r f78045efae20 -r 85205da6ec1b doc/ScintillaHistory.html
+--- a/doc/ScintillaHistory.html Mon Nov 20 11:48:00 2017 +1100
++++ b/doc/ScintillaHistory.html Mon Nov 20 12:24:51 2017 +1100
+@@ -534,6 +534,10 @@
+ Released 26 October 2017.
+
+