diff options
author | nyamatongwe <unknown> | 2000-11-30 06:16:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-11-30 06:16:57 +0000 |
commit | 910f1811a05bb1e279cebd985ffe5dfc5536a3e1 (patch) | |
tree | 1b365d0a03ede7371453391e2a31a37a3e64e05c /src/Editor.h | |
parent | addb03472699d14c1cb219fcfbb75e4e0683ba2c (diff) | |
download | scintilla-mirror-910f1811a05bb1e279cebd985ffe5dfc5536a3e1.tar.gz |
Patches from Stephan to slow down autoscrolling, exposed
MoveCaretInsideView as part of the API and did some other work on macros.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index 3733aedc1..1bcac1665 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -90,6 +90,8 @@ protected: // ScintillaBase subclass needs access to much of Editor Caret caret; Timer timer; + Timer autoScrollTimer; + enum { autoScrollDelay = 200 }; Point lastClick; unsigned int lastClickTime; @@ -191,7 +193,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void ScrollText(int linesToMove); void HorizontalScrollTo(int xPos); void MoveCaretInsideView(); - void EnsureCaretVisible(bool useMargin=true); + void EnsureCaretVisible(bool useMargin=true, bool vert=true, bool horiz=true); void ShowCaretAtCurrentPosition(); void DropCaret(); void InvalidateCaret(); |