GetRangesByLines Method

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
Finds ranges for given regex pattern. Search is separately in each line. This method requires less memory than GetRanges().

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

Syntax

C#
public IEnumerable<Range> GetRangesByLines(
	string regexPattern,
	RegexOptions options
)
Visual Basic
Public Function GetRangesByLines ( _
	regexPattern As String, _
	options As RegexOptions _
) As IEnumerable(Of Range)
Visual C++
public:
IEnumerable<Range^>^ GetRangesByLines(
	String^ regexPattern, 
	RegexOptions options
)

Parameters

regexPattern
Type: System..::..String
Regex pattern
options
Type: System.Text.RegularExpressions..::..RegexOptions

Return Value

Enumeration of ranges

See Also