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 131357 - Sometimes char '<' is html text
Summary: Sometimes char '<' is html text
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on: 117450
Blocks:
  Show dependency tree
 
Reported: 2008-03-28 01:04 UTC by Petr Pisl
Modified: 2008-10-09 14:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The screenshot of the editor (50.00 KB, image/png)
2008-03-28 01:05 UTC, Petr Pisl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2008-03-28 01:04:41 UTC
Look at the attached screanshot. If there is a open tag which starts letters 's', 'c', 'r', 'i', 'p' or 't' then the
char '<' is black, because the it is marked as html text. 

The problem is that php lexer returns in such case token just for char '<', which is then recognized by html lexer as text.
Comment 1 Petr Pisl 2008-03-28 01:05:57 UTC
Created attachment 59263 [details]
The screenshot of the editor
Comment 2 Marek Fukala 2008-05-14 10:07:57 UTC
Will likely be fixed by fix of issue 117450 though it doesn't mean the issue cannot be fixed without it!
Comment 3 Marek Fukala 2008-06-18 10:58:30 UTC
fixed by Milas lexer redesign - issue 117450 (the lexer lookahead now may go beyond the token sequence section end)
Comment 4 Mikhail Matveev 2008-10-09 14:46:38 UTC
Verified