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 170697 - [Error] Syntax error is highlighted on wrong place
Summary: [Error] Syntax error is highlighted on wrong place
Status: RESOLVED DUPLICATE of bug 211165
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 12:28 UTC by Filip Zamboj
Modified: 2012-04-13 14:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-08-20 12:28:34 UTC
Product Version: NetBeans IDE Dev (Build 2009-08-17_15-04-13 )
Java: 1.6.0_14; Java HotSpot(TM) 64-Bit Server VM 14.0-b16

have a code: 
abstract class GoogleChart {


    public $colorMap = array(
        "Black"	=> "000000",
        "LightSeaGreen"	=> "20B2AA"	,
        "LightYellow"	=> "FFFFE0" // <- syntax error, ',' is missing
        "Ivory"	=> "FFFFF0",
        "White"	=> "FFFFFF"
    );
   
   abstract function createGraph(); 

   function graph() { 
    ...... //function body
   }  // <- here is an error indicated. should be where coma is missing or somewhere on the array declaration 
}
Comment 1 Petr Pisl 2011-09-23 13:56:31 UTC
Error handling needs to be improved.
Comment 2 Ondrej Brejla 2012-04-13 14:22:09 UTC

*** This bug has been marked as a duplicate of bug 211165 ***