ISmartIndentationService Interface
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.
Provides a Visual Studio service that determines automatic indentation when the enter key is pressed or when navigating to an empty line.
public interface class ISmartIndentationService
public interface class ISmartIndentationService
__interface ISmartIndentationService
public interface ISmartIndentationService
type ISmartIndentationService = interface
Public Interface ISmartIndentationService
Remarks
This is a MEF component part, and should be imported as follows: [Import] ISmartIndentationService selector = null;
Methods
GetDesiredIndentation(ITextView, ITextSnapshotLine) |
Gets the desired indentation of an ITextSnapshotLine as displayed in ITextView. |