[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Fwd: Syntax hl in Kate
From:       jowenn () bigfoot ! com
Date:       2002-06-03 21:59:50
[Download RAW message or body]

Hi

I'm a littlebit short of time, could someone else
have a look ?  Is the problem solveable with
regexps alone, or do I have to implement something
in the highlighting code ?

Kind regards
Joseph Wenninger

Forwarded Message:
> To: jowenn@kde.org
> From: Niklas Lindelöf <niklas.lindelof@telia.com>
> Subject: Syntax hl in Kate
> Date: Mon, 3 Jun 2002 23:05:50 -0100
> -----
> Hallo
> I have a xml-file for syntax highlighting for
asp-pages. I still have one 
> problem to solve before I'm satisfied with the
highlighting. I use the 
> following line to find all string-variables
(since I have a convetion that 
> all string-variables are to begin with 'str...'):
> 
> '<RegExpr attribute="Variable" context="#stay" 
>
String="str[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"
/>'
> 
> The downside of this is that it finds too much.
If I make a function that is 
> called 'FindRabbitsInString()' the last part of
the functionname is 
> highlighted as a string-variable. But I still
what it to accept a '(' or '+' 
> and so on. Is it a way to skip the highlighting
if 'str..' precedes by a 
> letter?
> By the way: Is there any interest in this
highlighting? It does highlight both 
> vbsource and html.
> 
> Greetings
> Niklas Lindelöf



_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic