diff options
| author | nyamatongwe <devnull@localhost> | 2010-10-20 16:03:21 +1100 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-10-20 16:03:21 +1100 |
| commit | 1d801fba7580276f1a91af5019d5d2ac59372a37 (patch) | |
| tree | 45f8662892a932b7cd329fddb97302f66ac2c60a /src/Editor.h | |
| parent | fbc89848986b94a84e1011b11d16d83f5a09c881 (diff) | |
| download | scintilla-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.h | 3 |
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); |
