From c7d0451f2e4011bfa006c81a3fd6b55e917c2b31 Mon Sep 17 00:00:00 2001
From: nyamatongwe
+ SCI_POSITIONFROMPOINT finds the closes character position to a point and + SCI_POSITIONFROMPOINTCLOSE is similar but returns -1 if the point is + outside the window or not close to any characters. +
+ There are also marker symbols available for the folding margin in an flattened tree style: + SC_MARK_BOXMINUS, + SC_MARK_BOXMINUSCONNECTED, + SC_MARK_BOXPLUS, + SC_MARK_BOXPLUSCONNECTED, + SC_MARK_CIRCLEMINUS, + SC_MARK_CIRCLEMINUSCONNECTED, + SC_MARK_CIRCLEPLUS, + SC_MARK_CIRCLEPLUSCONNECTED, + SC_MARK_LCORNER, + SC_MARK_LCORNERCURVE, + SC_MARK_TCORNER, + SC_MARK_TCORNERCURVE, and + SC_MARK_VLINE. +
The marker numbers SC_MARKNUM_FOLDER and SC_MARKNUM_FOLDEROPEN are used for showing that a fold is present and open or closed. Any symbols may be assigned for this purpose although the (SC_MARK_PLUS, SC_MARK_MINUS) pair or the (SC_MARK_ARROW, SC_MARK_ARROWDOWN) pair are good choices. + As well as these two, more assignments are needed for the flattened tree style: + SC_MARKNUM_FOLDEREND, + SC_MARKNUM_FOLDERMIDTAIL, + SC_MARKNUM_FOLDEROPENMID, + SC_MARKNUM_FOLDERSUB, and + SC_MARKNUM_FOLDERTAIL.
The fundamental operation in folding is making lines invisible or visible. @@ -1316,6 +1348,24 @@ SCN_URIDROPPED a file name or web address onto Scintilla. The container could interpret this as a request to open the file.
++SCN_DWELLSTART +SCN_DWELLEND +SCI_SETMOUSEDWELLTIME +SCI_GETMOUSEDWELLTIME +SC_TIME_FOREVER ++
+ SCN_DWELLSTART is generated when the user hold the + mouse still in one spot for the dwell period. + SCN_DWELLEND is generated after a SCN_DWELLSTART + and the mouse is moved or other activity such as key press + indicates the dwell is over. +
++ The time the mouse must sit still, in milliseconds, to generate a SCI_DWELLSTART. + If set to SC_TIME_FOREVER, the default, no dwell events will be generated. +