[Monodevelop-devel] warning highlighting
christian.hergert at gmail.com
Thu Oct 2 03:58:04 EDT 2008
I think for the moment we should add a check in SourceEditorWidget.cs
if (info.ErrorType == ErrorType.Warning)
(marker as UnderlineMarker).Color = new Gdk.Color (232, 192, 52);
But you are right, abstracting this is a good idea.
On 10/2/08, Michael Hutchinson <m.j.hutchinson at gmail.com> wrote:
> 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
More information about the Monodevelop-devel-list