SetStyle Method (StyleIndex, Regex)

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,
	Regex regex
)
Visual Basic
Public Sub SetStyle ( _
	styleLayer As StyleIndex, _
	regex As Regex _
)
Visual C++
public:
void SetStyle(
	StyleIndex styleLayer, 
	Regex^ regex
)

See Also