[Monodevelop-devel] warning highlighting

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Oct 2 03:06:47 EDT 2008


On Thu, Oct 2, 2008 at 2:07 AM, Christian Hergert
<christian.hergert at gmail.com> wrote:
> Currently, errors matching ErrorType.Warning are highlighted in red along
> with ErrorType.Error.  Does it make sense to change this to a yellow'ish
> color?  Do we want that configurable per text editor scheme?
>
> I just added pyflakes support to the python parser to catch warnings.  I
> would like these to not turn up red :-)

I think we could maybe have as many as 5 underline colours:
ParserError, ParserWarning, CompilerError, CompilerWarning, Spelling.
Perhaps the Compiler/Parser distinction isn't necessary, though there
are differences in their dynamicity that might warrant it, so we
probably need to think this over.

These should of course be defined in the colour scheme so that they
fit in with the other highlighting colours. The named colours should
have fallbacks in case the schemes don't define all the colours.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-devel-list mailing list