diff options
| author | nyamatongwe <unknown> | 2011-04-07 21:26:47 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-04-07 21:26:47 +1000 |
| commit | 0adca4ad14500910cca14a54d7d4c19e740606da (patch) | |
| tree | be10d8a118fb4e5fd92a549d47aa80c1df01a5cf /include | |
| parent | e7dea4ff60eba17362902d514ff29ebfbc8ea3a1 (diff) | |
| download | scintilla-mirror-0adca4ad14500910cca14a54d7d4c19e740606da.tar.gz | |
Add highlighting of current folding block. Feature #3147069.
APIs MarkerEnableHighlight and MarkerSetBackSelected.
From Jérôme Laforge.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 2 | ||||
| -rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index b3907fff2..6cb9b4b81 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -136,6 +136,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_MARKERDEFINE 2040 #define SCI_MARKERSETFORE 2041 #define SCI_MARKERSETBACK 2042 +#define SCI_MARKERSETBACKSELECTED 2292 +#define SCI_MARKERENABLEHIGHLIGHT 2293 #define SCI_MARKERADD 2043 #define SCI_MARKERDELETE 2044 #define SCI_MARKERDELETEALL 2045 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index ce197da75..9ff8e3feb 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -292,6 +292,12 @@ fun void MarkerSetFore=2041(int markerNumber, colour fore) # Set the background colour used for a particular marker number. fun void MarkerSetBack=2042(int markerNumber, colour back) +# Set the background colour used for a particular marker number when its folding block is selected. +fun void MarkerSetBackSelected=2292(int markerNumber, colour back) + +# Enable/disable highlight for current folding bloc (smallest one that contains the caret) +fun void MarkerEnableHighlight=2293(bool enabled,) + # Add a marker to a line, returning an ID which can be used to find or delete the marker. fun int MarkerAdd=2043(int line, int markerNumber) |
