Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 0d2398c

Browse files
committed
Add missing constants
1 parent 1731859 commit 0d2398c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

Visual Studio Project Template C#/Integration/Scintilla_iface.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,28 @@ public enum SciMsg : uint
5555
SCI_START = 2000,
5656
SCI_OPTIONAL_START = 3000,
5757
SCI_LEXER_START = 4000,
58+
5859
/// Add text to the document at current position.
5960
SCI_ADDTEXT = 2001,
61+
6062
/// Add array of cells to document.
6163
SCI_ADDSTYLEDTEXT = 2002,
64+
6265
/// Insert string at a position.
6366
SCI_INSERTTEXT = 2003,
67+
6468
/// Change the text that is being inserted in response to SC_MOD_INSERTCHECK
6569
SCI_CHANGEINSERTION = 2672,
70+
6671
/// Delete all text in the document.
6772
SCI_CLEARALL = 2004,
73+
6874
/// Delete a range of text in the document.
6975
SCI_DELETERANGE = 2645,
7076

7177
/// Set all style bytes to 0, remove all folding information.
7278
SCI_CLEARDOCUMENTSTYLE = 2005,
79+
7380
/// Returns the number of bytes in the document.
7481
SCI_GETLENGTH = 2006,
7582

@@ -94,17 +101,21 @@ public enum SciMsg : uint
94101

95102
/// Select all the text in the document.
96103
SCI_SELECTALL = 2013,
104+
97105
/// Remember the current position in the undo history as the position
98106
/// at which the document was saved.
99107
SCI_SETSAVEPOINT = 2014,
100108

101109
/// Retrieve a buffer of cells.
102110
/// Returns the number of bytes in the buffer not including terminating NULs.
103111
SCI_GETSTYLEDTEXT = 2015,
112+
104113
/// Are there any redoable actions in the undo history?
105114
SCI_CANREDO = 2016,
115+
106116
/// Retrieve the line number at which a particular marker is located.
107117
SCI_MARKERLINEFROMHANDLE = 2017,
118+
108119
/// Delete a marker.
109120
SCI_MARKERDELETEHANDLE = 2018,
110121

@@ -133,9 +144,11 @@ public enum SciMsg : uint
133144
SCI_SETANCHOR = 2026,
134145
SCI_GETCURLINE = 2027,
135146
SCI_GETENDSTYLED = 2028,
147+
136148
SC_EOL_CRLF = 0,
137149
SC_EOL_CR = 1,
138150
SC_EOL_LF = 2,
151+
139152
SCI_CONVERTEOLS = 2029,
140153
SCI_GETEOLMODE = 2030,
141154
SCI_SETEOLMODE = 2031,
@@ -145,8 +158,24 @@ public enum SciMsg : uint
145158
SCI_SETBUFFEREDDRAW = 2035,
146159
SCI_SETTABWIDTH = 2036,
147160
SCI_GETTABWIDTH = 2121,
161+
SCI_ClearTabStops = 2675,
162+
SCI_AddTabStop = 2676,
163+
SCI_GetNextTabStop = 2677,
164+
165+
/// The SC_CP_UTF8 value can be used to enter Unicode mode.
166+
/// This is the same value as CP_UTF8 in Windows
148167
SC_CP_UTF8 = 65001,
168+
149169
SCI_SETCODEPAGE = 2037,
170+
171+
/// Is the IME displayed in a winow or inline?
172+
SCI_GetIMEInteraction = 2678,
173+
SC_IME_WINDOWED = 0,
174+
SC_IME_INLINE = 1,
175+
176+
/// Choose to display the the IME in a winow or inline.
177+
SCI_SetIMEInteraction = 2679,
178+
150179
MARKER_MAX = 31,
151180
SC_MARK_CIRCLE = 0,
152181
SC_MARK_ROUNDRECT = 1,
@@ -157,6 +186,8 @@ public enum SciMsg : uint
157186
SC_MARK_ARROWDOWN = 6,
158187
SC_MARK_MINUS = 7,
159188
SC_MARK_PLUS = 8,
189+
190+
/// Shapes used for outlining column.
160191
SC_MARK_VLINE = 9,
161192
SC_MARK_LCORNER = 10,
162193
SC_MARK_TCORNER = 11,
@@ -170,6 +201,8 @@ public enum SciMsg : uint
170201
SC_MARK_CIRCLEPLUSCONNECTED = 19,
171202
SC_MARK_CIRCLEMINUS = 20,
172203
SC_MARK_CIRCLEMINUSCONNECTED = 21,
204+
205+
/// Invisible mark that only sets the line background colour.
173206
SC_MARK_BACKGROUND = 22,
174207
SC_MARK_DOTDOTDOT = 23,
175208
SC_MARK_ARROWS = 24,
@@ -178,15 +211,22 @@ public enum SciMsg : uint
178211
SC_MARK_LEFTRECT = 27,
179212
SC_MARK_AVAILABLE = 28,
180213
SC_MARK_UNDERLINE = 29,
214+
SC_MARK_RGBAIMAGE = 30,
215+
SC_MARK_BOOKMARK = 31,
216+
181217
SC_MARK_CHARACTER = 10000,
218+
219+
/// Markers used for outlining column.
182220
SC_MARKNUM_FOLDEREND = 25,
183221
SC_MARKNUM_FOLDEROPENMID = 26,
184222
SC_MARKNUM_FOLDERMIDTAIL = 27,
185223
SC_MARKNUM_FOLDERTAIL = 28,
186224
SC_MARKNUM_FOLDERSUB = 29,
187225
SC_MARKNUM_FOLDER = 30,
188226
SC_MARKNUM_FOLDEROPEN = 31,
227+
189228
SC_MASK_FOLDERS = 0xFE000000,
229+
190230
SCI_MARKERDEFINE = 2040,
191231
SCI_MARKERSETFORE = 2041,
192232
SCI_MARKERSETBACK = 2042,

0 commit comments

Comments
 (0)