public SyntaxHighlightingMenager(TagsStorage tagsStorage)
        {
            //
            this.controls = new ControlCollection();
            this.controls.ControlAdded += new EventHandler(controls_ControlAdded);

            //
            TagsShow tagsShow = new TagsShow(tagsStorage);
            tagsShow.ShowOnlyTagsOfObjectType = true;
            // get array list of tags from tagsStorage object
            tagsList = tagsShow.GetTagsList();

            // costum sort
            TagsSortClass tagsSortClass = new TagsSortClass();
            tagsList.Sort(tagsSortClass);
            Log.Write(tagsList, this, "SyntaxHighlightingMenager", Log.LogType.DEBUG);
        }
Beispiel #2
0
        public SyntaxHighlightingMenager(TagsStorage tagsStorage)
        {
            //
            this.controls = new ControlCollection();
            this.controls.ControlAdded += new EventHandler(controls_ControlAdded);

            //
            TagsShow tagsShow = new TagsShow(tagsStorage);

            tagsShow.ShowOnlyTagsOfObjectType = true;
            // get array list of tags from tagsStorage object
            tagsList = tagsShow.GetTagsList();

            // costum sort
            TagsSortClass tagsSortClass = new TagsSortClass();

            tagsList.Sort(tagsSortClass);
            Log.Write(tagsList, this, "SyntaxHighlightingMenager", Log.LogType.DEBUG);
        }