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 162864 - [Error] wrong keyword underlines all lines in code
Summary: [Error] wrong keyword underlines all lines in code
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-04-16 17:21 UTC by Filip Zamboj
Modified: 2012-05-29 16:13 UTC (History)
1 user (show)

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-04-16 17:21:53 UTC
build: Product Version: NetBeans IDE Dev (Build 2009-04-16_12-03-59 )

steps: 
1. use code below 
class PageIndex extends Page {

    public var $template; <- wrong declaration. public $template is correct 

    public function setPageTemplate($template) {
    }
    public function getPageContentVars() {
    }
    public function getPageGeneral() {
    }
    public function getPageTemplate() {
    }
}

result: all lines in code are underlined 
expected result: only line where mistake occurred should be underlined
Comment 1 Tomasz Slota 2009-04-17 07:48:22 UTC
confirmed, but I doubt it is a P2 (the problem has been always been there and it was only reported now). 

ppisl is the only person with expertise in this area, so it might be somewhat challenging to fix
Comment 2 Filip Zamboj 2009-04-20 13:45:23 UTC
It's not p1 and not p3. This should definitely be fixed. 
Comment 3 Filip Zamboj 2009-05-14 13:51:58 UTC
well, ok ... considering all issues in this area this is not P2. Downgrading to P3 
Comment 4 Tomasz Slota 2010-02-10 08:46:06 UTC
reassigning to default owner
Comment 5 Tomas Mysik 2010-03-17 14:08:58 UTC
Petre, you are the only right person to have a look at this bug. Thanks.
Comment 6 Petr Pisl 2010-04-12 11:36:19 UTC
This bug is connected with sanitization of code, that has to be more clever.
Comment 7 Ondrej Brejla 2012-05-29 16:13:08 UTC

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