T3000 CrossPlatform Documentation
RangeGetFragment Method (String, RegexOptions) |
[This is preliminary documentation and is subject to change.]
Get fragment of text around Start place. Returns maximal mathed to pattern fragment.
Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public Range GetFragment( string allowedSymbolsPattern, RegexOptions options )
Public Function GetFragment ( allowedSymbolsPattern As String, options As RegexOptions ) As Range Dim instance As Range Dim allowedSymbolsPattern As String Dim options As RegexOptions Dim returnValue As Range returnValue = instance.GetFragment(allowedSymbolsPattern, options)
Parameters
- allowedSymbolsPattern
- Type: SystemString
Allowed chars pattern for fragment - options
- Type: System.Text.RegularExpressionsRegexOptions
[Missing <param name="options"/> documentation for "M:FastColoredTextBoxNS.Range.GetFragment(System.String,System.Text.RegularExpressions.RegexOptions)"]
Return Value
Type: RangeRange of found fragment
See Also