diff options
author | nyamatongwe <unknown> | 2001-01-29 08:59:40 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-01-29 08:59:40 +0000 |
commit | e4e173ee4aa0ba879210892c2f3e0530ea8731c4 (patch) | |
tree | 3c547b7160729fba6b399c183c109692c2eccad0 | |
parent | bd2fc92a257da4f630a9e55a6e4ac735e3a29470 (diff) | |
download | scintilla-mirror-e4e173ee4aa0ba879210892c2f3e0530ea8731c4.tar.gz |
Fiddled with caret and visible policies.
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 11 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 7c9b2292f..802a160bf 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -383,7 +383,6 @@ typedef long (*SciFnDirect)(long ptr, unsigned int iMessage, unsigned long wPara #define SCI_WORDPARTRIGHT 2392 #define SCI_WORDPARTRIGHTEXTEND 2393 #define VISIBLE_SLOP 0x01 -#define VISIBLE_CENTER 0x02 #define VISIBLE_STRICT 0x04 #define SCI_SETVISIBLEPOLICY 2394 #define SCI_GRABFOCUS 2400 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index e72c83ba3..034817803 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -963,11 +963,13 @@ fun int SearchNext=2367(int flags, string text) fun int SearchPrev=2368(int flags, string text) # Show caret within N lines of edge when it's scrolled to view +# If CARET_SLOP not set then centre caret on screen when it's +# scrolled to view val CARET_SLOP=0x01 -# Center caret on screen when it's scrolled to view +# Value not used val CARET_CENTER=0x02 -# OR this with CARET_CENTER to reposition even when visible, or -# OR this with CARET_SLOP to reposition whenever outside slop border +# If CARET_SLOP also set then reposition whenever outside slop border +# If CARET_SLOP not set then recentre even when visible val CARET_STRICT=0x04 # Set the way the line the caret is on is kept visible. fun void SetCaretPolicy=2369(int caretPolicy, int caretSlop) @@ -1030,9 +1032,8 @@ fun void WordPartRight=2392(,) # Move to the next change in capitalistion extending selection to new caret position. fun void WordPartRightExtend=2393(,) -# Constants for use with SetVisiblePolicy +# Constants for use with SetVisiblePolicy, similar to SetCaretPolicy val VISIBLE_SLOP=0x01 -val VISIBLE_CENTER=0x02 val VISIBLE_STRICT=0x04 # Set the way the display area is determined when a particular line is to be moved to. fun void SetVisiblePolicy=2394(int visiblePolicy, int visibleSlop) |