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 105145

Summary: Jsp scriptlet disturbs html highlight
Product: web Reporter: mircea273 <mircea273>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 87014    
Bug Blocks:    
Attachments: I've marked the correct highlight and the bad one

Description mircea273 2007-05-30 14:44:04 UTC
<input id="<%=Constants.FORM_FIELD_START_DATE%>" 
                            class="datechooser dc-dateformat='Y-n-j'
dc-iconlink='datechooser.png' dc-weekstartday='1' dc-startdate='05302007'
dc-latestdate='12312008' dc-earliestdate='04312007' " 
                            type="text" 
                            value="">

The scriptlet above messes up the highlight for the html fields above it. If i
remove the scriptlet all is coloured well.
Comment 1 Vitezslav Stejskal 2007-05-31 00:34:09 UTC
Can you please attach a screenshot? Thanks.
Comment 2 mircea273 2007-05-31 08:13:42 UTC
Created attachment 43005 [details]
I've marked the correct highlight and the bad one
Comment 3 Vitezslav Stejskal 2007-05-31 09:09:55 UTC
I see, thank you. Marku, is this something you are aware of? If it's in the
syntax highlighting layer then please reassign it back to me.
Comment 4 Marek Fukala 2007-06-07 15:16:20 UTC
The problem is that the lexer doesn't transfer lexer states between separated
blocks of language - see issue #87014
Comment 5 Marek Fukala 2007-08-02 22:08:24 UTC
*** Issue 111382 has been marked as a duplicate of this issue. ***
Comment 6 Marek Fukala 2007-10-12 19:16:58 UTC
already fixed