







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 ) |
Parameters
- styleLayer
- Type: FastColoredTextBoxNS..::..StyleIndex
- regex
- Type: System.Text.RegularExpressions..::..Regex
