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 171952 - [Error] wrong part of code is underlined when syntax error occurs
Summary: [Error] wrong part of code is underlined when syntax error occurs
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-09-10 16:34 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-09-10 16:34:24 UTC
Product Version: NetBeans IDE Dev (Build 2009-09-09_15-03-51 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01


namespace xml;

class xmlParser {
    //put your code here

    xmlParser() { <- missing function keyword here 

    } 

    function function_name() {
        return false; 
    } <- this code is underlined! 
}

expected behaviour "xmlParser" is underlined
Comment 1 Tomasz Slota 2009-09-10 16:43:31 UTC
this needs to be fixed at the parser level
Comment 2 Petr Pisl 2011-09-23 13:55:24 UTC
Error handling has to be improved.
Comment 3 Ondrej Brejla 2012-04-13 14:22:42 UTC

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