ISmartIndentProvider Interface

 

Gets an ISmartIndent object for a given ITextView.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Public Interface ISmartIndentProvider

NameDescription
System_CAPS_pubmethodCreateSmartIndent(ITextView)

Creates a ISmartIndent for the given ITextView.

This is a MEF component part, and should be exported with the following attributes:

[Export(NameSource=typeof(ISmartIndentProvider))] 
[ContentType("some content type")] 

Component exporters must supply at least one content type attribute to specify the applicable content types.

Return to top
Show: