UserInterface.ProgWin.format C# (CSharp) Method

format() private method

private format ( ) : void
return void
        private void format()
        {
            m_tags.Sort(compare);
            for (int i = 0; i < m_tags.Count; i++)
            {
                TextPointer str = rtbInput.Document.ContentStart.GetPositionAtOffset(m_tags[i].start, LogicalDirection.Forward);
                TextPointer stp = str.GetPositionAtOffset(m_tags[i].size, LogicalDirection.Backward);
                TextRange ts = new TextRange(str, stp);
                ts.ApplyPropertyValue(TextElement.ForegroundProperty, new SolidColorBrush(Colors.Blue));
            }
        }
        private void syntax()