IEditorOperations.GetWhitespaceForVirtualSpace(VirtualSnapshotPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string composed of whitespace characters that would be inserted to fill the gap between a given VirtualSnapshotPoint and the closest SnapshotPoint on the same line.
public:
System::String ^ GetWhitespaceForVirtualSpace(Microsoft::VisualStudio::Text::VirtualSnapshotPoint point);
public string GetWhitespaceForVirtualSpace (Microsoft.VisualStudio.Text.VirtualSnapshotPoint point);
abstract member GetWhitespaceForVirtualSpace : Microsoft.VisualStudio.Text.VirtualSnapshotPoint -> string
Public Function GetWhitespaceForVirtualSpace (point As VirtualSnapshotPoint) As String
Parameters
- point
- VirtualSnapshotPoint
The point in virtual space
Returns
A string composed of whitespace characters that would be inserted to fill the gap between a given VirtualSnapshotPoint and the closest SnapshotPoint on the same line.
Remarks
Returns an empty string if the provided point
is not in virtual space.