Range.GetFragment Method (Style, Boolean)

T3000 CrossPlatform

RangeGetFragment Method (Style, Boolean)

[This is preliminary documentation and is subject to change.]

Get fragment of text around Start place. Returns maximal matched to given Style.

Namespace:  FastColoredTextBoxNS
Assembly:  FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public Range GetFragment(
	Style style,
	bool allowLineBreaks
)
Public Function GetFragment ( 
	style As Style,
	allowLineBreaks As Boolean
) As Range

Dim instance As Range
Dim style As Style
Dim allowLineBreaks As Boolean
Dim returnValue As Range

returnValue = instance.GetFragment(style, 
	allowLineBreaks)

Parameters

style
Type: FastColoredTextBoxNSStyle
Allowed style for fragment
allowLineBreaks
Type: SystemBoolean

[Missing <param name="allowLineBreaks"/> documentation for "M:FastColoredTextBoxNS.Range.GetFragment(FastColoredTextBoxNS.Style,System.Boolean)"]

Return Value

Type: Range
Range of found fragment
See Also