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 - Jsp scriptlet disturbs html highlight
Summary: Jsp scriptlet disturbs html highlight
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 111382 (view as bug list)
Depends on: 87014
Blocks:
  Show dependency tree
 
Reported: 2007-05-30 14:44 UTC by mircea273
Modified: 2009-05-18 10:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
I've marked the correct highlight and the bad one (89.38 KB, application/octet-stream)
2007-05-31 08:13 UTC, mircea273
Details

Note You need to log in before you can comment on or make changes to this bug.
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