ITextCaret.InVirtualSpace Property

Definition

Determines whether the caret lies in virtual space. A virtual space is one that is after the physical end of a line.

public:
 property bool InVirtualSpace { bool get(); };
public:
 property bool InVirtualSpace { bool get(); };
public bool InVirtualSpace { get; }
member this.InVirtualSpace : bool
Public ReadOnly Property InVirtualSpace As Boolean

Property Value

true if the caret is in virtual space, otherwise false.

Remarks

This is distinct from the IEditorOptions UseVirtualSpace, since virtual space can be enabled even if the caret does not lie in virtual space.

Applies to