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 99946 - <% %> areas not syntax highlighted
Summary: <% %> areas not syntax highlighted
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
Depends on: 93644
Blocks:
  Show dependency tree
 
Reported: 2007-04-04 10:47 UTC by Max Sauer
Modified: 2007-05-17 12:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (14.88 KB, image/png)
2007-04-04 10:49 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-04-04 10:47:43 UTC
Inside of a jsp, java content inside <% %> used to be syntax highlighted, ie.
blue bold keywords etc. This does not work currently, see attached screenshot.

---
NetBeans IDE Dev (Build 070404)
1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Max Sauer 2007-04-04 10:49:02 UTC
Created attachment 40423 [details]
screenshot
Comment 2 Max Sauer 2007-04-04 11:05:20 UTC
CCing Vita, please have a look at it.
Comment 3 Marek Fukala 2007-04-04 12:07:02 UTC
The highlighting of some tokes in the JSP scriptlet shows when you save the
file, close and reopen. Immediatelly after changes it stays uncollored. I also
encourage Vita to take a look at it ;-). Thanks.
Comment 4 Vitezslav Stejskal 2007-04-04 22:48:14 UTC
Likely related to issue #99229. Milo, it looks like the incremental lexing of
embedded sections is really broken at the moment. In this example it helps to
write a space in between '<' and '%' in the opening tag of the embedded section
and delete it again. This will force relexing of the whole section at once and
the colors will show up.
Comment 5 Marek Fukala 2007-04-30 09:30:01 UTC
It works for me, Mila did some fixes in the lexer related to preserving of the
embedded tokens recently. Closing as fixed.
Comment 6 Jindrich Sedek 2007-05-17 12:56:28 UTC
verified.
just method highlighting is missing see #101809

NetBeans IDE Dev (Build 200705161800)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
SunOS version 5.10 running on x86
en (nb); ISO646-US