DeltaEscher / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Coldfusion + JavaScript Syntax Highlight Definition #183

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create an opening <cfsavecontent variable="variableName"> tag
2. after this tag, create an opening <script type="text/javascript"> tag
3. write any JavaScript/Ajax/jQuery script with a for/if statement 
containing a less than "<" symbol, followed by additional script, then the 
closing tags of 1. and 2.

What is the expected output? What do you see instead?

Instead of continuing to color the JavaScipt in the correct syntax 
highlighting, it colored all text after the less than symbol "<" until a 
greater than ">" symbol was encountered with the "error_style" color. I 
believe it thought the less than symbol was supposed to be an opening 
ColdFusion tag, thus the error color highlight.

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? On what operating system?

0.3.80

What method of install was your version installed with (Binary/Source)?

Binary through the Windows installer supplied on the website.

If from source: What version of python and wxPython are you using?

Please provide any additional information below.

I was using the "Dessert" style of highlighting, and the "error_style" in 
question was a dull, red color (#CD5C5C).  A color shared with 
"keyword3_style".  So this style highlight might be the problem instead of 
error_style.

Original issue reported on code.google.com by enm...@gmail.com on 26 Oct 2008 at 12:25

GoogleCodeExporter commented 8 years ago
Hello,

1) If you could attach a sample coldfusion file to test this with it would be 
very 
helpful.

2) Could you test by using a different color scheme on your machine to see if 
that is 
the issue or not?

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 27 Oct 2008 at 3:06

GoogleCodeExporter commented 8 years ago

Original comment by CodyPrec...@gmail.com on 27 Oct 2008 at 3:06

GoogleCodeExporter commented 8 years ago
The problem persists between style changes, so I created a short test file for 
you 
to tinker with. Granted, the test file doesn't actually do anything if you try 
and 
use it =)
It's just a demonstration of the error.

Original comment by enm...@gmail.com on 27 Oct 2008 at 11:57

Attachments:

GoogleCodeExporter commented 8 years ago
Confirmed

Thanks

Original comment by CodyPrec...@gmail.com on 28 Oct 2008 at 2:04