aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-07-11 13:19:38 +0000
committernyamatongwe <unknown>2002-07-11 13:19:38 +0000
commit9a723bd955828d0227410c747d6502ba999f0e65 (patch)
tree3a6eda035de72b160b29d369e3da7c9940462be4 /include/Scintilla.h
parent265e3d5ed8ba0354ebafeb9af2f06d53103d15e9 (diff)
downloadscintilla-mirror-9a723bd955828d0227410c747d6502ba999f0e65.tar.gz
Patch from Philippe to improve caret policy.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index b583ab746..4b8ccd23f 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -440,12 +440,6 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SEARCHANCHOR 2366
#define SCI_SEARCHNEXT 2367
#define SCI_SEARCHPREV 2368
-#define CARET_SLOP 0x01
-#define CARET_CENTER 0x02
-#define CARET_STRICT 0x04
-#define CARET_XEVEN 0x08
-#define CARET_XJUMPS 0x10
-#define SCI_SETCARETPOLICY 2369
#define SCI_LINESONSCREEN 2370
#define SCI_USEPOPUP 2371
#define SCI_SELECTIONISRECTANGLE 2372
@@ -479,6 +473,12 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETXOFFSET 2397
#define SCI_GETXOFFSET 2398
#define SCI_GRABFOCUS 2400
+#define CARET_SLOP 0x01
+#define CARET_STRICT 0x04
+#define CARET_JUMPS 0x10
+#define CARET_EVEN 0x08
+#define SCI_SETXCARETPOLICY 2402
+#define SCI_SETYCARETPOLICY 2403
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
@@ -613,6 +613,11 @@ struct SCNotification {
#ifdef INCLUDE_DEPRECATED_FEATURES
+#define SCI_SETCARETPOLICY 2369
+#define CARET_CENTER 0x02
+#define CARET_XEVEN 0x08
+#define CARET_XJUMPS 0x10
+
#define SCN_POSCHANGED 2012
#define SCN_CHECKBRACE 2007