diff options
| author | nyamatongwe <devnull@localhost> | 2011-04-07 21:26:47 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-04-07 21:26:47 +1000 |
| commit | 4012f14e6397f5709586102540df824d8c9ca4a5 (patch) | |
| tree | 9f1535ca2d7a2690ba79a62d0d96ec58b9c9af96 /include | |
| parent | c3d271e16f72cad5bf4f669614a78a67c5663037 (diff) | |
| download | scintilla-mirror-4012f14e6397f5709586102540df824d8c9ca4a5.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) |
