public class TextManagerEventSink : IVsTextManagerEvents { public void OnRegisterMarkerType(int iMarkerType) { } public void OnRegisterView(IVsTextView pView) { CommandFilter filter = new CommandFilter(); pView.AddCommandFilter(filter, out filter.NextCommandTarget); } public void OnUnregisterView(IVsTextView pView) { } public void OnUserPreferencesChanged(VIEWPREFERENCES[] pViewPrefs, FRAMEPREFERENCES[] pFramePrefs, LANGPREFERENCES[] pLangPrefs, FONTCOLORPREFERENCES[] pColorPrefs) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)