From 1d801fba7580276f1a91af5019d5d2ac59372a37 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 20 Oct 2010 16:03:21 +1100 Subject: Feature request #3064696 SCI_VERTICALCENTRECARET: center current line in window. --- src/Editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Editor.h') 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); -- cgit v1.2.3