From 910f1811a05bb1e279cebd985ffe5dfc5536a3e1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 30 Nov 2000 06:16:57 +0000 Subject: Patches from Stephan to slow down autoscrolling, exposed MoveCaretInsideView as part of the API and did some other work on macros. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index af6fbdc02..4d5478207 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -332,6 +332,7 @@ typedef long (*SciFnDirect)(long ptr, unsigned int iMessage, unsigned long wPara #define SCI_UPPERCASE 2341 #define SCI_LINESCROLLDOWN 2342 #define SCI_LINESCROLLUP 2343 +#define SCI_MOVECARETINSIDEVIEW 2401 #define SCI_LINELENGTH 2350 #define SCI_BRACEHIGHLIGHT 2351 #define SCI_BRACEBADLIGHT 2352 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 068798f2a..f694c4ee9 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -896,6 +896,9 @@ fun void LineScrollDown=2342(,) # Scroll the document up, keeping the caret visible. fun void LineScrollUp=2343(,) +# Move the caret inside current view if it's not there already +fun void MoveCaretInsideView=2401(,) + # How many characters are on a line, not including end of line characters. fun int LineLength=2350(int line,) -- cgit v1.2.3