From 85a4dea9675835aae865b17b4f024f447771def3 Mon Sep 17 00:00:00 2001
From: nyamatongwe SCI_MARKERDEFINEPIXMAP(int markerNumber, const char
*xpm)
o Notifications
- o GTK+
+ o Images
- o Deprecated messages
+ o GTK+
+
@@ -3483,12 +3486,9 @@ struct Sci_TextToFind {
o Deprecated messages
+
o Edit messages never
supported by Scintilla
+
o Building Scintilla
- Markers can be set to pixmaps with this message. The XPM format is used for the pixmap and it
- is limited to pixmaps that use one character per pixel with no named colours.
- The transparent colour may be named 'None'.
- The data should be null terminated.
- Pixmaps use the SC_MARK_PIXMAP
marker symbol. You can find descriptions of
- the XPM format from here.SC_MARK_PIXMAP
marker symbol.
SCI_MARKERSYMBOLDEFINED(int markerNumber)
Returns the symbol defined for a markerNumber with SCI_MARKERDEFINE
@@ -4002,8 +4002,7 @@ struct Sci_TextToFind {
Autocompletion list items may display an image as well as text. Each image is first registered with an integer
type. Then this integer is included in the text of the list separated by a '?' from the text. For example,
"fclose?2 fopen" displays image 2 before the string "fclose" and no image before "fopen".
- The images are in XPM format as is described for
-
+ The images are in XPM format.
The set of registered images can be cleared with SCI_CLEARREGISTEREDIMAGES
and the '?' separator changed
with SCI_AUTOCSETTYPESEPARATOR
.
SCN_AUTOCCHARDELETED
The user deleted a character while autocompletion list was active.
There is no other information in SCNotification.
The XPM format is supported for images. + This format is described here. + Scintilla is only able to handle XPM pixmaps that use one character per pixel with no named colours. + There may be a completely transparent colour named "None".
+There are two forms of data structure used for XPM images, the first "lines form" format is well suited + to embedding an image inside C source code and the "text form" is suited to reading from a file. + In the lines form, an array of strings is used with the first string indicating the dimensions and number of colours + used. This is followed by a string for each colour and that section is followed by the image with one string per line. + The text form contains the same data as one null terminated block formatted as C source code starting + with a "/* XPM */" comment to mark the format.
+Either format may be used with Scintilla APIs with the bytes at the location pointed to examined + to determine which format: if the bytes start with "/* XPM */" then it is treated as text form, + otherwise it is treated as lines form.
On GTK+, the following functions create a Scintilla widget, communicate with it and allow -- cgit v1.2.3