Range Members

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image

The Range type exposes the following members.

Constructors

Methods

  NameDescription
Public methodBeginUpdate
Starts selection position updating
Public methodClearFoldingMarkers
Clear folding markers of all lines of range
Public methodClearStyle(array<Style>[]()[][])
Clear styles of range
Public methodClearStyle(StyleIndex)
Clear styles of range
Public methodClone
Clone range
Public methodContains
Public methodEndUpdate
Ends selection position updating
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExpand
Expands range from first char of Start line to last char of End line
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFragment(String)
Get fragment of text around Start place. Returns maximal mathed to pattern fragment.
Public methodGetFragment(String, RegexOptions)
Get fragment of text around Start place. Returns maximal mathed to pattern fragment.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIntersectionWith
Returns intersection with other range, empty range returned otherwise
Public methodGetRanges(String)
Finds ranges for given regex pattern
Public methodGetRanges(Regex)
Finds ranges for given regex
Public methodGetRanges(String, RegexOptions)
Finds ranges for given regex pattern
Public methodGetRangesByLines
Finds ranges for given regex pattern. Search is separately in each line. This method requires less memory than GetRanges().
Public methodGetSubRanges
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnionWith
Returns union with other range.
Public methodGoLeft()()()()
Move range left
Public methodGoLeft(Boolean)
Public methodGoLeftThroughFolded
Move range left
Public methodGoRight()()()()
Move range right
Public methodGoRight(Boolean)
Public methodGoRightThroughFolded
Move range left
Public methodGoWordLeft
Public methodGoWordRight
Public methodInverse
Exchanges Start and End
Public methodIsReadOnlyLeftChar
Is char before range readonly
Public methodIsReadOnlyRightChar
Is char after range readonly
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNormalize
Exchanges Start and End if End appears before Start
Public methodSelectAll
Select all chars of control
Public methodSetFoldingMarkers(String, String)
Sets folding markers
Public methodSetFoldingMarkers(String, RegexOptions)
Sets folding markers
Public methodSetFoldingMarkers(String, String, RegexOptions)
Sets folding markers
Public methodSetStyle(Style)
Set style for range
Public methodSetStyle(StyleIndex)
Appends style to chars of range
Public methodSetStyle(Style, String)
Set style for given regex pattern
Public methodSetStyle(Style, Regex)
Set style for given regex
Public methodSetStyle(StyleIndex, Regex)
Set style for given regex pattern
Public methodSetStyle(Style, String, RegexOptions)
Set style for given regex pattern
Public methodSetStyle(StyleIndex, String, RegexOptions)
Set style for given regex pattern
Public methodToString (Overrides Object..::..ToString()()()().)
Public methodStatic memberToStyleIndex

Fields

  NameDescription
Public fieldtb

Properties

  NameDescription
Public propertyBounds
Public propertyCharAfterStart
Returns first char after Start place
Public propertyCharBeforeStart
Returns first char before Start place
Public propertyChars
Chars of range (exclude \n)
Public propertyColumnSelectionMode
Column selection mode
Public propertyEnd
Finish line and char position
Public propertyIsEmpty
Return true if no selected text
Public propertyReadOnly
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.
Public propertyStart
Start line and char position
Public propertyText
Text of range

See Also