From e72d294166a11717d23c4d1d69c230b49612067c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 24 Jul 2000 07:47:57 +0000 Subject: Renumbered constants and added new messages to Scintilla.iface. --- include/Scintilla.h | 81 ++++++++++++++++---------------- include/Scintilla.iface | 122 +++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 160 insertions(+), 43 deletions(-) (limited to 'include') 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<