ITextCaret.InVirtualSpace Property
Determines whether the caret lies in virtual space. A virtual space is one that is after the physical end of a line.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
ReadOnly Property InVirtualSpace As Boolean
bool InVirtualSpace { get; }
property bool InVirtualSpace {
bool get ();
}
abstract InVirtualSpace : bool with get
function get InVirtualSpace () : boolean
Property Value
Type: Boolean
true if the caret is in virtual space, otherwise false.
Remarks
This is distinct from the UseVirtualSpaceId, since virtual space can be enabled even if the caret does not lie in virtual space.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.