aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-10-20 16:03:21 +1100
committernyamatongwe <unknown>2010-10-20 16:03:21 +1100
commitb316fcf67979d79e08c1741af0bfd757067d641a (patch)
treea563c1ca3f0c60c281fb4abbbc144fcbccc29c85 /src/Editor.h
parent2449e676f72a313e8cd2bc9dc4ba3e59ee1ebc90 (diff)
downloadscintilla-mirror-b316fcf67979d79e08c1741af0bfd757067d641a.tar.gz
Feature request #3064696 SCI_VERTICALCENTRECARET: center current line in window.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 17683c63a..50948e2e3 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -219,7 +219,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
PRectangle rcPaint;
bool paintingAllText;
StyleNeeded styleNeeded;
-
+
int modEventMask;
SelectionText drag;
@@ -328,6 +328,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void ScrollTo(int line, bool moveThumb=true);
virtual void ScrollText(int linesToMove);
void HorizontalScrollTo(int xPos);
+ void VerticalCentreCaret();
void MoveCaretInsideView(bool ensureVisible=true);
int DisplayFromPosition(int pos);