aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h81
1 files changed, 40 insertions, 41 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index e2c062378..67da01825 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -248,6 +248,45 @@ typedef long (*SciFnDirect)(long ptr, unsigned int iMessage, unsigned long wPara
#define SCI_SETPRINTCOLOURMODE SCI_START + 148
#define SCI_GETPRINTCOLOURMODE SCI_START + 149
+#define SCI_FINDTEXT SCI_START + 150
+#define SCI_FORMATRANGE SCI_START + 151
+#define SCI_GETFIRSTVISIBLELINE SCI_START + 152
+#define SCI_GETLINE SCI_START + 153
+#define SCI_GETLINECOUNT SCI_START + 154
+#define SCI_SETMARGINLEFT SCI_START + 155
+#define SCI_GETMARGINLEFT SCI_START + 156
+#define SCI_SETMARGINRIGHT SCI_START + 157
+#define SCI_GETMARGINRIGHT SCI_START + 158
+#define SCI_GETMODIFY SCI_START + 159
+#define SCI_SETSEL SCI_START + 160
+#define SCI_GETSELTEXT SCI_START + 161
+#define SCI_GETTEXTRANGE SCI_START + 162
+#define SCI_HIDESELECTION SCI_START + 163
+#define SCI_POINTXFROMPOSITION SCI_START + 164
+#define SCI_POINTYFROMPOSITION SCI_START + 165
+#define SCI_LINEFROMPOSITION SCI_START + 166
+#define SCI_POSITIONFROMLINE SCI_START + 167
+#define SCI_LINESCROLL SCI_START + 168
+#define SCI_SCROLLCARET SCI_START + 169
+#define SCI_REPLACESEL SCI_START + 170
+#define SCI_SETREADONLY SCI_START + 171
+
+#define SCI_NULL SCI_START + 172
+#define SCI_CANPASTE SCI_START + 173
+#define SCI_CANUNDO SCI_START + 174
+#define SCI_EMPTYUNDOBUFFER SCI_START + 175
+#define SCI_UNDO SCI_START + 176
+#define SCI_CUT SCI_START + 177
+#define SCI_COPY SCI_START + 178
+#define SCI_PASTE SCI_START + 179
+#define SCI_CLEAR SCI_START + 180
+#define SCI_SETTEXT SCI_START + 181
+#define SCI_GETTEXT SCI_START + 182
+#define SCI_GETTEXTLENGTH SCI_START + 183
+
+#define SCI_GETDIRECTFUNCTION SCI_START + 184
+#define SCI_GETDIRECTPOINTER SCI_START + 185
+
#define SCI_CALLTIPSHOW SCI_START + 200
#define SCI_CALLTIPCANCEL SCI_START + 201
#define SCI_CALLTIPACTIVE SCI_START + 202
@@ -420,6 +459,7 @@ typedef void (tMacroRecorder)(unsigned int iMessage, unsigned long wParam,
#define SCN_NEEDSHOWN 2011
// For compatibility, these go through the COMMAND notification rather than NOTIFY
+// and have exactly the same values as the EN_* constants.
#define SCEN_CHANGE 768
#define SCEN_SETFOCUS 512
#define SCEN_KILLFOCUS 256
@@ -493,47 +533,6 @@ struct SCNotification {
#define SC_MASK_FOLDERS ((1<<SC_MARKNUM_FOLDER) | (1<<SC_MARKNUM_FOLDEROPEN))
// Moving from WM_* and EM_*
-#define SCI_CANPASTE 5000
-#define SCI_CANUNDO 5001
-#define SCI_POINTXFROMPOSITION 5034
-#define SCI_POINTYFROMPOSITION 5035
-#define SCI_EMPTYUNDOBUFFER 5003
-#define SCI_GETSEL 5004
-#define SCI_SETSEL 5005
-#define SCI_LINEFROMPOSITION 5006
-#define SCI_FINDTEXT 5036
-#define SCI_FORMATRANGE 5037
-#define SCI_GETFIRSTVISIBLELINE 5007
-#define SCI_GETLINE 5028
-#define SCI_GETLINECOUNT 5008
-//#define SCI_GETMARGINS (212)
-#define SCI_GETMARGINLEFT 5030
-#define SCI_GETMARGINRIGHT 5031
-#define SCI_SETMARGINLEFT 5032
-#define SCI_SETMARGINRIGHT 5033
-#define SCI_GETMODIFY 5009
-#define SCI_GETSELTEXT 5010
-#define SCI_GETTEXTRANGE 5011
-#define SCI_HIDESELECTION 5012
-#define SCI_POSITIONFROMLINE 5013
-#define SCI_LINESCROLL 5014
-#define SCI_REPLACESEL 5015
-#define SCI_SCROLLCARET 5016
-#define SCI_SETMARGINS 5017
-#define SCI_SETREADONLY 5018
-#define SCI_UNDO 5019
-
-#define SCI_NULL 5020
-#define SCI_CLEAR 5021
-#define SCI_COPY 5022
-#define SCI_CUT 5023
-#define SCI_GETTEXT 5024
-#define SCI_GETTEXTLENGTH 5025
-#define SCI_PASTE 5026
-#define SCI_SETTEXT 5027
-
-#define SCI_GETDIRECTFUNCTION 5040
-#define SCI_GETDIRECTPOINTER 5041
#define SCFIND_MATCHCASE 4
#define SCFIND_WHOLEWORD 2