Bug + trying to learn

0 views
Skip to first unread message

Raffaele Castagno

unread,
Nov 5, 2009, 2:01:53 PM11/5/09
to CFEclipse Developers
I'm trying to solve myself an annoying bug.
This line
//writeoutput("abbin_in_cache -> " & abbin_in_cache & "<br>");
makes the syntax highlighting go weird.
Variations.
This is OK (removed the last double quotes):
//writeoutput("abbin_in_cache -> " & abbin_in_cache & "<br>);
but this is KO (removed only the <br>):
//writeoutput("abbin_in_cache -> " & abbin_in_cache & "");
What I think is that comments should be ignored by all highlight
processes except the one related to comments, as it seems that the
one
related to "strings" is coming in the way.
What should be the correct fix to that? And where should it go?
Thanks.
Raffaele

Randy

unread,
Nov 5, 2009, 2:25:31 PM11/5/09
to CFEclipse Developers
Hey Raffaele,

Just from playing around with it a little, it is the < and > that are
messing up the syntax highlighter...

I've appended this to the following ticket:

http://trac.cfeclipse.org/ticket/104

denstar

unread,
Nov 5, 2009, 8:22:00 PM11/5/09
to cfecli...@googlegroups.com
On Thu, Nov 5, 2009 at 12:25 PM, Randy wrote:
...

> I've appended this to the following ticket:
>
> http://trac.cfeclipse.org/ticket/104

Hrm. That's far older than when I made the change, I guess I thought
this was something new due to the mad parser regex or the change I did
(like last month maybe?) for string coloring.

Looks like Peter's narrowed it down, which is freaking excellent.

--
To Live signifies to believe and hope - to lie and to lie to oneself.
Emile M. Cioran

Randy

unread,
Nov 5, 2009, 8:55:07 PM11/5/09
to CFEclipse Developers
That's just the first bug that I saw that looked relavant... not sure
if it's the correct place to have it... And testing the original issue
in the latest from the repository and it's not a problem anymore...
so... ignore that trac ticket... it's not the ticket you are looking
for.

Randy

denstar

unread,
Nov 5, 2009, 9:40:01 PM11/5/09
to cfecli...@googlegroups.com
That is not the ticket I was looking for.

Move along.

--
To venture upon an undertaking of any kind, even the most
insignificant, is to sacrifice to envy.
Emile M. Cioran

Reply all
Reply to author
Forward
0 new messages