TextExtent Constructor (SnapshotSpan, Boolean)

 

Initializes a new instance of TextExtent.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public:
TextExtent(
	SnapshotSpan span,
	bool isSignificant
)

Parameters

span
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The SnapshotSpan that includes the extent.

isSignificant
Type: System::Boolean

false if the extent contains whitespace, unless whitespace should be treated like any other character.

Return to top
Show: