IEditorFormatMapService Interface
Visual Studio 2015
Looks up a format map for a given view role.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
| Name | Description | |
|---|---|---|
![]() | GetEditorFormatMap(ITextView) | Gets an IEditorFormatMap appropriate for a given text view. This object is likely to be shared among several text views. |
![]() | GetEditorFormatMap(String) | Get a IEditorFormatMap for a given appearance category. |
This is a MEF component part, and should be imported as follows:
[Import] internal IEditorFormatMapService editorMaps = null;
For an example of how to use this service, see Walkthrough: Customizing the Text View.
Show:
