private void ColourName(string name, IDocument doc, LineSegment line, Color color, Color backgroundColor, bool bold, bool italic)
 {
     if (!line.ColorWord(name, color, bold, italic, backgroundColor))
     {
     }
 }