From f8ea2f1ec4ba11f96ef20f8634bb6d10ac15a3f2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 6 Nov 2000 08:15:46 +0000 Subject: Updated for 1.33. --- doc/ScintillaDoc.html | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index d20fbaedd..c89c81a9c 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -121,6 +121,19 @@ SCI_PASTE SCI_CLEAR SCI_CANPASTE +

+ Error handling +

+
+SCI_SETSTATUS
+SCI_GETSTATUS
+
+

+ If an error occurs, Scintilla may set an internal error number which can be retrieved + with SCI_GETSTATUS. + Not currently used but will be in the future. + To clear the error status call SCI_SETSTATUS(0). +

Undo and Redo

@@ -231,6 +244,31 @@ SCI_SETVIEWWS(bool visible) significant, such as Python. Space characters appear as small centred dots and tab characters as light arrows pointing to the right.

+

+ Cursor +

+
+SCI_SETCURSOR
+SCI_GETCURSOR
+
+

+ The cursor is normally chosen in a context sensitive way so will be different over + the margin than when over the text. When performing a slow action, a wait cursor + can be shown by calling SCI_SETCURSOR(SC_CURSORWAIT) and restored + with SCI_SETCURSOR(SC_CURSORNORMAL). +

+

+ Mouse Capture +

+
+SCI_SETMOUSEDOWNCAPTURES(bool captures)
+SCI_GETMOUSEDOWNCAPTURES
+
+

+ When the mouse is pressed inside Scintilla, it is captured so future mouse movement + events are sent to Scintilla. This behaviour may be turned off with + SCI_SETMOUSEDOWNCAPTURES(false). +

Line endings

@@ -339,6 +377,8 @@ SCI_SETCARETFORE(int colour) SCI_GETCARETFORE SCI_GETCARETPERIOD SCI_SETCARETPERIOD(int milliseconds) +SCI_GETCARETWIDTH +SCI_SETCARETWIDTH(int pixels)

The selection is shown by changing the foreground and / or background colours. If one of @@ -350,7 +390,8 @@ SCI_SETCARETPERIOD(int milliseconds) The colour of the caret can be set with SCI_SETCARETFORE. The rate at which the caret blinks can be set with SCI_SETCARETPERIOD which determines the time in milliseconds that the caret is visible or invisible before changing state. Setting the period to 0 stops the caret - blinking. + blinking. The width of the caret can be set with SCI_SETCARETWIDTH to a value + of 1, 2 or 3 pixels.

Margins @@ -476,11 +517,19 @@ SCI_SETWORDCHARS(<unused>, char *chars)

 SCI_GRABFOCUS
+SCI_SETFOCUS(bool focus)
+SCI_GETFOCUS
 

On GTK+, focus handling is more complicated than on Windows, so Scintilla can be told with this message to grab the focus.

+

+ The internal focus flag can be set with SCI_SETFOCUS. + This is used by clients which have complex focus requirements such as + having their own window which gets the real focus but with the need to indicate that + Scintilla has the logical focus. +

Brace highlighting

@@ -704,6 +753,10 @@ SCI_LINEDELETE SCI_LINETRANSPOSE SCI_LOWERCASE SCI_UPPERCASE +SCI_WORDPARTLEFT +SCI_WORDPARTLEFTEXTEND +SCI_WORDPARTRIGHT +SCI_WORDPARTRIGHTEXTEND

To allow the container application to perform any of the actions available to the user with @@ -1073,6 +1126,14 @@ SCN_NEEDSHOWN will just ensure each line in the range is visible by calling SCI_ENSUREVISIBLE.

+
+SCN_PAINTED
+
+

+ Painting has just been done. Useful when you want to update some other widgets + based on a change in Scintilla, but want to have the paint occur first to appear more responsive. +

+

Edit messages currently supported by Scintilla which will be removed in the future.

-- 
cgit v1.2.3