diff options
author | nyamatongwe <unknown> | 2011-04-29 19:48:39 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-04-29 19:48:39 +1000 |
commit | 9a5459d5b24664df3c79b9b2061fe4eeb9de36d0 (patch) | |
tree | b4c35be18bbcdbbfa70d9f0772380979140f7973 /include | |
parent | 0ae4049da9517830c556a57b196d0213d4a46bf5 (diff) | |
download | scintilla-mirror-9a5459d5b24664df3c79b9b2061fe4eeb9de36d0.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,) |