On Fri, Oct 06, 2006 at 10:18:42PM +0200, Haakon Riiser wrote:
> [Steve Folta]
>
> > And I'd prefer not to lose syntax hiliting on the current line,
> > which means the attribute/background would need to be somehow
> > *added* to the existing styles, instead of replacing them.
>
> That shouldn't be problem, unless you use conflicting highlighting,
> of course. If the other syntax groups only set the foreground
> color, underline and bold attributes, and the current line is
> highlighted by setting the background color, they'll be able to
> stack without one rule replacing the other.
OK, All of these issues sound correct. If you don't mind, start
CGDB on a program and go to the CGDB window and type
':set as=highlight'. This functionality should be extended to
the current line being viewed, and the breakpoints. It should
not cause the syntax highlighting information to be lost. Also,
the highlighting colors should be configurable. Does this meet
everyone's needs?
If so, CGDB will need new options for breakpoints and the current
line similar to the 'set as' option. It will also need new
highlighting options that represnet how to highlight the lines
when the corresponding options are on.
I would be happy to accept a patch that meet this criteria, if
everyone thinks this would be the correct approach. If I'm expected
to do the work, it could be quite some time.
Thanks,
Bob Rossi
|