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 202255 - Syntax highlight (coloring) sometimes "forgets" a few lines.
Summary: Syntax highlight (coloring) sometimes "forgets" a few lines.
Status: RESOLVED DUPLICATE of bug 203827
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-17 11:51 UTC by paolosca
Modified: 2012-05-18 08:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the defect (113.81 KB, image/png)
2011-09-17 11:51 UTC, paolosca
Details
Strange syntax highlighting (20.56 KB, image/png)
2012-01-08 14:31 UTC, bera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paolosca 2011-09-17 11:51:48 UTC
Created attachment 110828 [details]
Screenshot of the defect

At seemingly random times a few lines of the code are rendered black while the rest of the code is correctly colored.

I attach a screenshot of the defect, the affected lines are from 259 to 265, clicking (placing the caret) on or before the affected code causes the code to be correctly rendered. 

I'm not sure what happens when placing the cursor after the code because this problem rarely shows and I haven't found a way to trigger it.

Regards,

Paolo.
Comment 1 Tomas Mysik 2011-09-19 07:35:37 UTC
Could be a general problem and not only in PHP.

Please evaluate, thanks.
Comment 2 Ondrej Brejla 2011-09-19 07:53:13 UTC
I have the same problem with .java files too...sometimes, so I think that it will be problem of base Editor component.
Comment 3 Ondrej Brejla 2011-09-19 07:56:03 UTC
Reassigning
Comment 4 paolosca 2011-10-08 17:42:45 UTC
Product Version: NetBeans IDE Dev (Build 201110070600)
Java: 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02
System: Linux version 3.0.0-1-686-pae running on i386; UTF-8; en_US (nb)
User directory: /home/paolo/.netbeans/dev
Cache directory: /run/netbeans

Just a note, seems to be more frequent in the last nightly build. I experienced this issue at least 5 times since the new install a couple of hours ago, including once where most of the lines in the file were without coloring.

Regards,

Paolo
Comment 5 bera 2012-01-08 14:31:33 UTC
Created attachment 114718 [details]
Strange syntax highlighting

Hi there,

I'm not sure, if this is related to this bug, but I sometime have a very strange syntax-highlighting of my php sources. This happens randomly and is not reproducable. I have to close and reopen my file to get the correct syntax-highlight again. This behaviour startet after update to 7.1.

Best regards,
Marcus
Comment 6 Miloslav Metelka 2012-02-21 12:52:11 UTC
Could you please test the problem in current dev builds? I guess that the integration of issue #203827 might resolve the problem. Thanks.
Comment 7 Miloslav Metelka 2012-05-18 08:12:05 UTC
Assuming that it became fixed by issue #203827.

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