From c79314c9bd8efc6e521664bf4de182370c436c09 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 17 Jun 2017 18:09:23 -0400 Subject: Effectively updated to Scintilla 3.7.5 with select backports to 3.7.3. --- src/scintilla_backports/6170_df221375187c.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/scintilla_backports/6170_df221375187c.patch (limited to 'src/scintilla_backports/6170_df221375187c.patch') diff --git a/src/scintilla_backports/6170_df221375187c.patch b/src/scintilla_backports/6170_df221375187c.patch new file mode 100644 index 00000000..28479b0a --- /dev/null +++ b/src/scintilla_backports/6170_df221375187c.patch @@ -0,0 +1,25 @@ +# HG changeset patch +# User Neil +# Date 1491548892 -36000 +# Node ID df221375187cab18a3e1c73ae83fa46805bf98db +# Parent ef932abba46c57933959a83bd63fafc429d35259 +Allowing assigning Windows and ensure cursorLast is initialized. + +diff -r ef932abba46c -r df221375187c include/Platform.h +--- a/include/Platform.h Thu Apr 06 21:04:52 2017 +1000 ++++ b/include/Platform.h Fri Apr 07 17:08:12 2017 +1000 +@@ -363,6 +363,14 @@ + virtual ~Window(); + Window &operator=(WindowID wid_) { + wid = wid_; ++ cursorLast = cursorInvalid; ++ return *this; ++ } ++ Window &operator=(const Window &other) { ++ if (this != &other) { ++ wid = other.wid; ++ cursorLast = other.cursorLast; ++ } + return *this; + } + WindowID GetID() const { return wid; } -- cgit v1.2.3