[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Beaver-devel] Syntax Highlighting
From: |
Leslie Polzer |
Subject: |
Re: [Beaver-devel] Syntax Highlighting |
Date: |
Fri, 21 Mar 2003 19:33:16 +0100 |
On Fri, 21 Mar 2003 13:00:03 -0500
Michael Terry <address@hidden> wrote:
> So, I have a record of every ascii character's keyword
> status -- whether it appears in a keyword, whether it starts a keyword,
> or whether it ends a keyword. I go backward from start iter to find
> first character that isn't in a keyword or the first delimiter. The
> same for end iter, except I always go at least one forward, I think.
Seems expensive.
> If the character starts a 'special string' like a string or char
> marker, a line comment starter, or a block comment start or end, it
> creates a GtkTextMark and adds it to a list for the buffer.
I suppose we could do brace matching with this...?
> That's the basic idea. Want any more info?
Kind of. Are you going to put that syntax highlighting stuff
into a separate file?
Leslie
- [Beaver-devel] Syntax Highlighting, Leslie Polzer, 2003/03/19
- Re: [Beaver-devel] Syntax Highlighting, Leslie Polzer, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Michael Terry, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting,
Leslie Polzer <=
- Re: [Beaver-devel] Syntax Highlighting, Michael Terry, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Leslie Polzer, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Michael Terry, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Leslie Polzer, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Michael Terry, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Leslie Polzer, 2003/03/21
- Re: [Beaver-devel] Syntax Highlighting, Michael Terry, 2003/03/21