IVsContainedLanguageHost.OnContainedLanguageEditorSettingsChange Method
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.
Called to notify the host when the contained language changes its Fonts and Colors settings.
public:
int OnContainedLanguageEditorSettingsChange();
public:
int OnContainedLanguageEditorSettingsChange();
int OnContainedLanguageEditorSettingsChange();
public int OnContainedLanguageEditorSettingsChange ();
abstract member OnContainedLanguageEditorSettingsChange : unit -> int
Public Function OnContainedLanguageEditorSettingsChange () As Integer
Returns
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT OnContainedLanguageEditorSettingsChange();
If a contained language changes its editor settings (specifically, colors), there is no way for the editor to be notified by Visual Studio about the change. Therefore, the contained language must notify the host whenever its Fonts and Colors settings change.