SetStyle Method (StyleIndex, String, RegexOptions)

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
Set style for given regex pattern

Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.9.3.0 (2.9.3.0)

Syntax

C#
public void SetStyle(
	StyleIndex styleLayer,
	string regexPattern,
	RegexOptions options
)
Visual Basic
Public Sub SetStyle ( _
	styleLayer As StyleIndex, _
	regexPattern As String, _
	options As RegexOptions _
)
Visual C++
public:
void SetStyle(
	StyleIndex styleLayer, 
	String^ regexPattern, 
	RegexOptions options
)

See Also