aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-10-20 16:03:21 +1100
committernyamatongwe <devnull@localhost>2010-10-20 16:03:21 +1100
commit1d801fba7580276f1a91af5019d5d2ac59372a37 (patch)
tree45f8662892a932b7cd329fddb97302f66ac2c60a /src/Editor.h
parentfbc89848986b94a84e1011b11d16d83f5a09c881 (diff)
downloadscintilla-mirror-1d801fba7580276f1a91af5019d5d2ac59372a37.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);