The C1TextPointer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
C1TextPointer(C1TextPointer) |
Initializes a new C1TextPointer.
|
|
|
C1TextPointer(C1TextElement, Int32) |
Initializes a new C1TextPointer.
|
|
|
C1TextPointer(C1TextElement, Int32, LogicalDirection) |
Initializes a new C1TextPointer.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Closest(Func<(Of <<'(C1TextPointer, Boolean>)>>), Func<(Of <<'(C1TextPointer, C1TextPointer, Int32>)>>)) |
Returns the closest position that satisfies a predicate.
|
|
|
Closest(Func<(Of <<'(C1TextPointer, Boolean>)>>), Func<(Of <<'(C1TextPointer, C1TextPointer, Int32>)>>), C1TextElement) |
Returns the closest position that satisfies a predicate.
|
|
|
CompareTo |
Compares positions of this C1TextPointer with another C1TextPointer.
|
|
|
Enumerate()()()() |
Enumerates the C1TextPointer forward.
|
|
|
Enumerate(LogicalDirection) |
Enumerates the C1TextPointer in the indicated direction.
|
|
|
Equals | (Overrides Object..::..Equals(Object).) |
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
|
GetHashCode | (Overrides Object..::..GetHashCode()()()().) |
|
|
GetOffsetToPosition(C1TextPointer) |
Equivalent to GetOffsetToPosition(C1TextPointer, Predicate<(Of <<'(Tag>)>>)) with null as tagFilter.
|
|
|
GetOffsetToPosition(C1TextPointer, Predicate<(Of <<'(Tag>)>>)) |
Returns the count of symbols between this C1TextPointer and a second specified C1TextPointer.
|
|
|
GetPositionAtOffset(Int32) |
Equivalent to GetPositionAtOffset(Int32, Predicate<(Of <<'(Tag>)>>)) with null as tagFilter.
|
|
|
GetPositionAtOffset(Int32, Predicate<(Of <<'(Tag>)>>)) |
Returns the position at an offset of the current position, optionally not counting some positions.
|
|
|
GetSymbol |
Gets the symbol at the specified direction from this position.
|
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
Split()()()() |
Splits this position's C1TextElement at its offset into two elements of the same type with the same style properties.
|
|
|
Split(Boolean) |
Splits this position's C1TextElement at its offset into two elements of the same type with the same style properties.
|
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Operators
| Name | Description | |
|---|---|---|
|
|
Equality | |
|
|
GreaterThan | |
|
|
GreaterThanOrEqual | |
|
|
Inequality | |
|
|
LessThan | |
|
|
LessThanOrEqual |
Properties
| Name | Description | |
|---|---|---|
|
|
ClosestCaret |
Gets the closest position that is a caret position.
|
|
|
Element |
The C1TextElement where the C1TextPointer is positioned.
|
|
|
IsCaretPosition |
Gets whether a position is a valid caret position, that is, a position where an edit caret can be placed.
|
|
|
IsWordEnd |
Returns whether the position is just after a word.
|
|
|
IsWordStart |
Returns whether the position is just before a word.
|
|
|
LogicalDirection |
Gets the logical direction associated with the current position which is used to disambiguate content associated with the current position.
|
|
|
Offset |
The offset inside of Element where the C1TextPointer is positioned.
|
|
|
PreviousSymbol |
Gets the symbol preceding this position (see GetSymbol(LogicalDirection)).
|
|
|
Symbol |
Gets the symbol following this position (see GetSymbol(LogicalDirection)).
|
|
|
TextOffset |
Gets the index of this position in its document text.
|