On Tue, 27 Dec 2005 23:23:39 +0800
Funky Beast <[EMAIL PROTECTED]> wrote:

> Marc Weustink wrote:
> > Graeme Geldenhuys wrote:
> > 
> >> Hi,
> >>
> >> Attached is a patch to enable color support in the Messages Window. It 
> >> now makes it much easier to find your $Hint and $Note messages in a
> >> lengthy compile.
> >>
> >> Still outstanding is the option to enable users to custom select the
> >> colors used. At the moment it is hard-coded to Green and Blue.
> > 
> > 
> > Thanks, it is a nice start.
> > I've changed the customdraw a bit. There is no need to check if it is a 
> > hint if you already know that it is a note. I've also reduced the number
> > 
> > of locations where the text is drawn.
> > 
> > For the future, I think that even more types can be colored, like $info,
> > 
> > $message, $warning, $error, $fatal etc.
> > Maybe in there can be a user defined list of messages with user defined 
> > colors.
> > 
> > 
> > 
> > r8374
> > 
> > Marc
> > 
> 
> May i suggest a treeview, that is,
> each type in its own branch which would be much easier to
> search in categories which can be expanded and collapsed.
> Like:
> -Build
>      |-
>      |-
>      |-
> -Messages
>      |-
>      |-
>      |-
> -Hints
>      |-
>      |-
>      |-
> -Warnings
>      |-
>      |-
>      |-
> -Notes
>      |-
>      |-
>      |-
> -Errors
>      |-
>      |-
>      |-
> -Fatal
>      |-
>      |-
>      |-
> 
> and we can have options on what msg types we want to capture.
> just my 2 cents.

If someone wants to improve the messages view to support sorting or treeview
or filtering, don't hesitate to ask how. Just keep in mind, that it should
be configurable, so the user can have a normal list, if preferred.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to