[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Beaver-devel] New sy/hi with pcre; a second preview

From: Michael Terry
Subject: Re: [Beaver-devel] New sy/hi with pcre; a second preview
Date: Tue, 08 Apr 2003 01:17:38 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030322

Leslie Polzer wrote:
It might be wise to change it. I imagine it would be nice to allow users to change the colors.

They could do that with 0-255 too :)

Yeah, I know. I stopped mid-thought, interrupted by my category thought. :) I was going to say that since we will get a larger range integer from the GUI configuration widget, we might as well use it.

I propose we come up with categories of keywords that we label lines with in the syntax file and in the GUI, we can say, "What color do you want operators to be?"

I tried to put a comment in front of each file but fscanf() (or maybe rather
my programming self) had problems with it so I postponed it.
XML might be nice in general.

I'm not sure what you are getting at here. What do comments/XML have to do with abstracting from specific colors in a syntax file to categories of keywords?

So...  a quick stab at categories:
preprocessor directives
language keywords
system library keywords
"derived" keywords -- things like GtkWidget

What else?

What do you mean by characters?

I meant character strings. i.e. the stuff inbetween single quotes in a C program. Usually the same color as a string constant.


Attachment: pgpbXA5ba5VI9.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]