aboutsummaryrefslogtreecommitdiff
path: root/src/scintilla.patch
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2019-03-09 17:16:11 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2019-03-09 17:16:11 -0500
commit7b33eb75991ef90677e723dfc8e11e665c301cd9 (patch)
treee8e9913c0ca49ff5408a0f8785d7468619842ef8 /src/scintilla.patch
parentb7ac8de4037db46f032f59330938dacc20e60e32 (diff)
downloadtextadept-7b33eb75991ef90677e723dfc8e11e665c301cd9.tar.gz
textadept-7b33eb75991ef90677e723dfc8e11e665c301cd9.zip
Updated to Scintilla 3.10.3.
Diffstat (limited to 'src/scintilla.patch')
-rw-r--r--src/scintilla.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scintilla.patch b/src/scintilla.patch
index 6aa2b251..f9f1a294 100644
--- a/src/scintilla.patch
+++ b/src/scintilla.patch
@@ -26,7 +26,7 @@ Revert caret block placement change introduced by Scintilla 3.7.3.
for (size_t r = 0; (r<model.sel.Count()) || drawDrag; r++) {
const bool mainCaret = r == model.sel.Main();
- SelectionPosition posCaret = (drawDrag ? model.posDrag : model.sel.Range(r).caret);
-- if (vsDraw.caretStyle == CARETSTYLE_BLOCK && !drawDrag && posCaret > model.sel.Range(r).anchor) {
+- if ((vsDraw.IsBlockCaretStyle() || imeCaretBlockOverride) && !drawDrag && posCaret > model.sel.Range(r).anchor) {
- if (posCaret.VirtualSpace() > 0)
- posCaret.SetVirtualSpace(posCaret.VirtualSpace() - 1);
- else