Beispiel #1
0
        void UpdateStyles(object sender = null, EventArgs e = null)
        {
            highlightStyle = SyntaxModeService.GetColorStyle(IdeApp.Preferences.ColorScheme);
            if (!highlightStyle.FitsIdeSkin(IdeApp.Preferences.UserInterfaceSkin))
            {
                highlightStyle = SyntaxModeService.GetDefaultColorStyle(Ide.IdeApp.Preferences.UserInterfaceSkin);
            }

            if (markupCache != null)
            {
                markupCache = new List <Tuple <SearchResult, string> > ();
            }
            if (IsRealized)
            {
                store.Foreach((model, path, iter) => {
                    model.EmitRowChanged(path, iter);
                    return(false);
                });
            }
        }