This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 104242 - Syntax coloring broken if element contains embedded language
Summary: Syntax coloring broken if element contains embedded language
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on: 87014
Blocks:
  Show dependency tree
 
Reported: 2007-05-18 09:12 UTC by Jiri Skrivanek
Modified: 2007-10-17 16:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot. (2.79 KB, image/gif)
2007-05-18 09:13 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-05-18 09:12:24 UTC
Syntax coloring is broken if element contains embedded language. Next attribute
is then not colored. E.g. this example from .rhtml:

  <input name="recipe[description]" 
        size="30" value="<%= @recipe.description %>" type="text" />

type="text" is black (see screen shot).
Comment 1 Jiri Skrivanek 2007-05-18 09:13:03 UTC
Created attachment 42527 [details]
Screen shot.
Comment 2 Marek Fukala 2007-05-18 13:02:32 UTC
The problem is that the HTML lexer state is not transferred behind the jsp
token. See issue #87014 for more info.
Comment 3 Marek Fukala 2007-10-12 19:02:50 UTC
already fixed
Comment 4 Jiri Skrivanek 2007-10-17 16:05:37 UTC
Verified.