Is there a span indicator that can override either the foreground or background colors independently but not both within the same span indicator?
For example if I wanted to highlight a section of text with a new background color but still preserve the current syntax highlighting colors of the foreground text within that span indicator. I can achieve the desired effect for an entire line by setting the Document.Lines[x].BackColor but I need to support this for a specified TextRange.
Thanks,
[Modified at 03/04/2008 03:35 PM]
For example if I wanted to highlight a section of text with a new background color but still preserve the current syntax highlighting colors of the foreground text within that span indicator. I can achieve the desired effect for an entire line by setting the Document.Lines[x].BackColor but I need to support this for a specified TextRange.
Thanks,
[Modified at 03/04/2008 03:35 PM]