AvalonEdit
TextViewPosition Structure
NamespacesICSharpCode.AvalonEditTextViewPosition
Represents a text location with a visual column.
Declaration Syntax
C#Visual BasicVisual C++
public struct TextViewPosition : IEquatable<TextViewPosition>, 
	IComparable<TextViewPosition>
Public Structure TextViewPosition _
	Implements IEquatable(Of TextViewPosition), IComparable(Of TextViewPosition)
public value class TextViewPosition : IEquatable<TextViewPosition>, 
	IComparable<TextViewPosition>
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TextViewPosition(Int32, Int32, Int32)
Creates a new TextViewPosition instance.

TextViewPosition(Int32, Int32)
Creates a new TextViewPosition instance.

TextViewPosition(TextLocation, Int32)
Creates a new TextViewPosition instance.

TextViewPosition(TextLocation)
Creates a new TextViewPosition instance.

Column
Gets/Sets the (text) column number.

CompareTo(TextViewPosition)
Compares the current object with another object of the same type.

Equality(TextViewPosition, TextViewPosition)
Equality test.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
Equals(TextViewPosition)
Equality test.

GetHashCode()()()()
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(TextViewPosition, TextViewPosition)
Inequality test.

IsAtEndOfLine
When word-wrap is enabled and a line is wrapped at a position where there is no space character; then both the end of the first TextLine and the beginning of the second TextLine refer to the same position in the document, and also have the same visual column. In this case, the IsAtEndOfLine property is used to distinguish between the two cases: the value true indicates that the position refers to the end of the previous TextLine; the value false indicates that the position refers to the beginning of the next TextLine. If this position is not at such a wrapping position, the value of this property has no effect.

Line
Gets/Sets the line number.

Location
Gets/Sets Location.

ToString()()()()
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString()()()().)
VisualColumn
Gets/Sets the visual column number. Can be -1 (meaning unknown visual column).

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238