diff options
| author | nyamatongwe <devnull@localhost> | 2011-04-29 19:48:39 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-04-29 19:48:39 +1000 |
| commit | 6c97f9c411593118bfd807b8a1b8370b17120454 (patch) | |
| tree | a5d6928b10f3b4979a8a4afdf30087bad9e9eaad /include | |
| parent | b3d1c9dd20616fc0e6276571a5bd7faa5141bcdd (diff) | |
| download | scintilla-mirror-6c97f9c411593118bfd807b8a1b8370b17120454.tar.gz | |
Use indicators to show matching braces. Feature #3290434.
From Marko Njezic.
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 0405fe844..00df9c349 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -556,7 +556,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_MOVECARETINSIDEVIEW 2401 #define SCI_LINELENGTH 2350 #define SCI_BRACEHIGHLIGHT 2351 +#define SCI_BRACEHIGHLIGHTINDICATOR 2498 #define SCI_BRACEBADLIGHT 2352 +#define SCI_BRACEBADLIGHTINDICATOR 2499 #define SCI_BRACEMATCH 2353 #define SCI_GETVIEWEOL 2355 #define SCI_SETVIEWEOL 2356 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index ef2bac944..309d5fe3e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1446,9 +1446,15 @@ fun int LineLength=2350(int line,) # Highlight the characters at two positions. fun void BraceHighlight=2351(position pos1, position pos2) +# Use specified indicator to highlight matching braces instead of changing their style. +fun void BraceHighlightIndicator=2498(bool useBraceHighlightIndicator, int indicator) + # Highlight the character at a position indicating there is no matching brace. fun void BraceBadLight=2352(position pos,) +# Use specified indicator to highlight non matching brace instead of changing its style. +fun void BraceBadLightIndicator=2499(bool useBraceBadLightIndicator, int indicator) + # Find the position of a matching brace or INVALID_POSITION if no match. fun position BraceMatch=2353(position pos,) |
