SyntaxHighlighter.AddResilientStyle Method

T3000 CrossPlatform

SyntaxHighlighterAddResilientStyle Method

[This is preliminary documentation and is subject to change.]

Adds the given style as resilient style. A resilient style is additionally available when highlighting is based on a syntax descriptor that has been derived from a XML description file. In the run of the highlighting routine the styles used by the FCTB are always dropped and replaced with the (initial) ones from the syntax descriptor. Resilient styles are added afterwards and can be used anyway.

Namespace:  FastColoredTextBoxNS
Assembly:  FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public virtual void AddResilientStyle(
	Style style
)
Public Overridable Sub AddResilientStyle ( 
	style As Style
)

Dim instance As SyntaxHighlighter
Dim style As Style

instance.AddResilientStyle(style)

Parameters

style
Type: FastColoredTextBoxNSStyle
Style to add
See Also