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 115638 - Broken Repainting in editor when tabs in file
Summary: Broken Repainting in editor when tabs in file
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 115493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-15 17:20 UTC by err
Modified: 2007-11-05 13:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
editor file to reproduce the problem (175 bytes, text/plain)
2007-09-15 17:21 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2007-09-15 17:20:20 UTC
Build 200709140000

The attached 4 line file has a tab on lines 1 and 3 after the first group of visible chars. One way to see the problem
is to put the cursor on line 1 or 3 and toggle between the HOME and END keys.
Comment 1 err 2007-09-15 17:21:37 UTC
Created attachment 48890 [details]
editor file to reproduce the problem
Comment 2 err 2007-09-15 17:23:34 UTC
BTW, the file is accessed as a .txt in case that makes a difference.
Comment 3 Vitezslav Stejskal 2007-09-17 09:32:52 UTC
I'll have a look. Thanks for the report. Did you change anything in Fonts&Colors, especially the font type (eg.
monospaced versus proportional)?
Comment 4 Jiri Prox 2007-09-17 09:38:35 UTC
I can reproduce it, no settings were changed.
Comment 5 Vitezslav Stejskal 2007-09-17 13:21:08 UTC
Should be fixed now.

Checking in DrawEngine.java;
/cvs/editor/libsrc/org/netbeans/editor/DrawEngine.java,v  <--  DrawEngine.java
new revision: 1.54; previous revision: 1.53
done
Comment 6 Vitezslav Stejskal 2007-09-17 13:23:48 UTC
*** Issue 115493 has been marked as a duplicate of this issue. ***