public override void OnSettingsChanged()
        {
            if (!TextAreaLoaded)
            {
                return;
            }

            SelectedTheme = Themes[Settings.SelectedTheme];
            m_AssemblyIndentationStrategy.AutoIndentationEnabled = Settings.AssemblyEditorSettings.AutoCodeFormating;

            if (m_AssemblyIndentationStrategy.AutoIndentationEnabled)
            {
                m_AssemblyIndentationStrategy.IndentLines(Document);
                Save();
            }

            if (Settings.AssemblyEditorSettings.CodeFolding)
            {
                m_CodeFolding.ResumeUpdate();
            }
            else
            {
                m_CodeFolding.SuspendUpdate(true);
            }

            if (Settings.AssemblyEditorSettings.AutoCodeAnalization)
            {
                m_CodeAnalyzer.Trigger = AnalizerTrigger.DocumentChange;
                m_CodeAnalyzer.AnalyzeCode();
            }
            else
            {
                m_CodeAnalyzer.ClearResults();
                InterpretedSymbols.Clear();
                WrongLines.Clear();
                m_CodeAnalyzer.Trigger = AnalizerTrigger.Manual;
            }

            ApplyEditorStyle();
        }
 public void ClearResults()
 {
     MarkerService.RemoveAll(m => true);
     InterpretedSymbols.Clear();
     WrongLine.Clear();
 }