示例#1
0
        public void Highlight(FileTab tab)
        {
            if (currentHighlight != null)
            {
                currentHighlight.Normalize();
            }

            tab.Highlight();
            currentHighlight = tab;
        }
示例#2
0
        public void Highlight(int index)
        {
            if (currentHighlight != null)
            {
                currentHighlight.Normalize();
            }

            FileTab item = items[index];

            item.Highlight();
            currentHighlight = item;
        }