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 > 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...'): > > ' 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