We would like to Highlight code block.
eg.
IF
codes
End
Bold words want to Highlight when user click IF or End.
StructureMatcher only support char and it does not support Word(eg.IF).
How to implement string(Keyword) base StructureMatcher?
We would like to Highlight code block.
eg.
IF
codes
End
Bold words want to Highlight when user click IF or End.
StructureMatcher only support char and it does not support Word(eg.IF).
How to implement string(Keyword) base StructureMatcher?
Hi Roger,
Our built-in StructureMatcher class is geared for basic bracket delimiters only. But you can implement your own custom IStructureMatcher to support IF...End.
Please check out the "SyntaxEditor / Text/Parsing Framework / Advanced Text Features / Structure Matching" topic in the documentation that comes with the product. That describes how structure matchers work. You effectively only need to implement one method and that topic gives some tips.
Please log in to a validated account to post comments.