GetFragment Method (String)

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
Get fragment of text around Start place. Returns maximal mathed to pattern fragment.

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

Syntax

C#
public Range GetFragment(
	string allowedSymbolsPattern
)
Visual Basic
Public Function GetFragment ( _
	allowedSymbolsPattern As String _
) As Range
Visual C++
public:
Range^ GetFragment(
	String^ allowedSymbolsPattern
)

Parameters

allowedSymbolsPattern
Type: System..::..String
Allowed chars pattern for fragment

Return Value

Range of found fragment

See Also