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

Summary: Syntax coloring broken if element contains embedded language
Product: javaee Reporter: Jiri Skrivanek <jskrivanek>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 87014    
Bug Blocks:    
Attachments: Screen shot.

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.