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

Summary: Sometimes char '<' is html text
Product: php Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 117450    
Bug Blocks:    
Attachments: The screenshot of the editor

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