aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-11-30 06:16:57 +0000
committernyamatongwe <devnull@localhost>2000-11-30 06:16:57 +0000
commitf0e8c7c4c3a5390d0b8150c700cec5c1ad3b226d (patch)
tree1b365d0a03ede7371453391e2a31a37a3e64e05c /src/Editor.h
parentef89374a1b993b738c4ecee577191af793e322cc (diff)
downloadscintilla-mirror-f0e8c7c4c3a5390d0b8150c700cec5c1ad3b226d.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.h4
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();