From f8ea2f1ec4ba11f96ef20f8634bb6d10ac15a3f2 Mon Sep 17 00:00:00 2001
From: nyamatongwe
+ 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).
+
+ Error handling
+
+
+SCI_SETSTATUS
+SCI_GETSTATUS
+
+
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.
+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). +
++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). +
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.
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. +
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. +
+-- cgit v1.2.3