FastColoredTextBox |
Range Members |
Range Class Constructors Methods Fields Properties See Also Send Feedback |
The Range type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Range(FastColoredTextBox) |
Constructor
| |
Range(FastColoredTextBox, Place, Place) |
Constructor
| |
Range(FastColoredTextBox, Int32, Int32, Int32, Int32) |
Constructor
|
Methods
Name | Description | |
---|---|---|
BeginUpdate |
Starts selection position updating
| |
ClearFoldingMarkers |
Clear folding markers of all lines of range
| |
ClearStyle(array<Style>[]()[][]) |
Clear styles of range
| |
ClearStyle(StyleIndex) |
Clear styles of range
| |
Clone |
Clone range
| |
Contains | ||
EndUpdate |
Ends selection position updating
| |
Equals | (Inherited from Object.) | |
Expand |
Expands range from first char of Start line to last char of End line
| |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetFragment(String) |
Get fragment of text around Start place. Returns maximal mathed to pattern fragment.
| |
GetFragment(String, RegexOptions) |
Get fragment of text around Start place. Returns maximal mathed to pattern fragment.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetIntersectionWith |
Returns intersection with other range,
empty range returned otherwise
| |
GetRanges(String) |
Finds ranges for given regex pattern
| |
GetRanges(Regex) |
Finds ranges for given regex
| |
GetRanges(String, RegexOptions) |
Finds ranges for given regex pattern
| |
GetRangesByLines |
Finds ranges for given regex pattern.
Search is separately in each line.
This method requires less memory than GetRanges().
| |
GetSubRanges | ||
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
GetUnionWith |
Returns union with other range.
| |
GoLeft()()()() |
Move range left
| |
GoLeft(Boolean) | ||
GoLeftThroughFolded |
Move range left
| |
GoRight()()()() |
Move range right
| |
GoRight(Boolean) | ||
GoRightThroughFolded |
Move range left
| |
GoWordLeft | ||
GoWordRight | ||
Inverse |
Exchanges Start and End
| |
IsReadOnlyLeftChar |
Is char before range readonly
| |
IsReadOnlyRightChar |
Is char after range readonly
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Normalize |
Exchanges Start and End if End appears before Start
| |
SelectAll |
Select all chars of control
| |
SetFoldingMarkers(String, String) |
Sets folding markers
| |
SetFoldingMarkers(String, RegexOptions) |
Sets folding markers
| |
SetFoldingMarkers(String, String, RegexOptions) |
Sets folding markers
| |
SetStyle(Style) |
Set style for range
| |
SetStyle(StyleIndex) |
Appends style to chars of range
| |
SetStyle(Style, String) |
Set style for given regex pattern
| |
SetStyle(Style, Regex) |
Set style for given regex
| |
SetStyle(StyleIndex, Regex) |
Set style for given regex pattern
| |
SetStyle(Style, String, RegexOptions) |
Set style for given regex pattern
| |
SetStyle(StyleIndex, String, RegexOptions) |
Set style for given regex pattern
| |
ToString | (Overrides Object..::..ToString()()()().) | |
ToStyleIndex |
Fields
Name | Description | |
---|---|---|
tb |
Properties
Name | Description | |
---|---|---|
Bounds | ||
CharAfterStart |
Returns first char after Start place
| |
CharBeforeStart |
Returns first char before Start place
| |
Chars |
Chars of range (exclude \n)
| |
ColumnSelectionMode |
Column selection mode
| |
End |
Finish line and char position
| |
IsEmpty |
Return true if no selected text
| |
ReadOnly |
Range is readonly?
This property return True if any char of the range contains ReadOnlyStyle.
Set this property to True/False to mark chars of the range as Readonly/Writable.
| |
Start |
Start line and char position
| |
Text |
Text of range
|