NextTracker indexSee it online !

(1/243) 2194 - ASP Syntax highlight bug w/comment

Comments in Microsoft ASP and VBScript start with an
apostrophe and end at the end of line OR until a closing
tag occurs. The syntax highlighting does not recognize
the second case.

For example, let's use the following ASP fragment in
an .asp file:

<% ' ASP code fragment %>

Starting with the apostrophe and ending at the end of
line, the syntax highlighter colorizes as a comment. But
it should NOT treat the ending tag, %>, as part of the
comment.

Thanks,

Alan
jedit@boneseye.com

Submitted *anonymous - 2004-08-11 08:23:32 Assigned
Priority 5 Labels text area and syntax packages
Status open Group minor bug
Resolution None

Comments

2004-10-12 12:18:32
nobody

Logged In: NO

duplicate of bug 1006182.

Please can I stop modifying my coworkers code just so I can
read it?

2004-10-12 14:12:46
nobody

Logged In: NO

JEdit 4.2 doesn't fix it.

Putting this in your vbscript.xml comes close:
<SPAN TYPE="COMMENT1" NO_LINE_BREAK="TRUE">
<BEGIN>&apos;</BEGIN>
<END>%&gt;</END>
</SPAN>
but not close enough. The ending tag in swallowed by the
comment and doesn't get you out of VBScript mode. Apart
from that (huge probelm) it works.

Trying to find docs on the highlighter but failed.

2009-12-01 17:52:56
elberry

- **status**: open --> pending

2009-12-01 17:52:56
elberry

This bug is very old, if it still exists in current development version of jEdit (4.3pre18/pre19) please reopen it. Otherwise it will be closed out automatically by the SF tracker system.

2009-12-01 18:42:58
elberry

Sorry. resetting to open until someone has time to look into it.

2009-12-01 18:42:58
elberry

- **status**: pending --> open