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 38636 - text limit line overwrites text and fold icon
Summary: text limit line overwrites text and fold icon
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: PERFORMANCE, REGRESSION
: 37067 38828 39040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-12 14:21 UTC by Milan Kubec
Modified: 2007-11-05 13:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (951 bytes, image/png)
2004-01-12 14:21 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-01-12 14:21:17 UTC
[dev-200401111900, JDK 1.4.2] Icon with '...' is
overriden by text limit line, see screenshot.
Comment 1 Milan Kubec 2004-01-12 14:21:47 UTC
Created attachment 12832 [details]
screenshot
Comment 2 Martin Roskanin 2004-01-15 16:20:40 UTC
*** Issue 38828 has been marked as a duplicate of this issue. ***
Comment 3 Martin Roskanin 2004-01-23 13:06:32 UTC
*** Issue 37067 has been marked as a duplicate of this issue. ***
Comment 4 Martin Roskanin 2004-01-23 13:07:59 UTC
we will try to fix it to NB 3.6
Comment 5 Martin Roskanin 2004-01-23 15:17:59 UTC
comments from issue #39040

Easiest to see with a graphics debugging tool
like QuartzDebug for the mac - each area that's
repainted flashes yellow).

I had noticed that the text limit line was
sometimes partially hiding characters.  After
watching it in slowed-down debug mode, I know why.
 It goes as follows:
 - Paint one line of text
 - Paint the text limit line from top to bottom
 - Paint another line of text
 - Paint the text limit line from top to bottom
 - Paint another line of text
 - Paint the text limit line from top to bottom

for the whole height of the editor.

Now, drawing lines is a pretty cheap operation,
but editor painting needs to be really fast.  It
seems to me you could probably just draw the once
when the rest of the paint is completed, or before
the text painting starts.

Comment 6 Martin Roskanin 2004-01-23 15:22:07 UTC
*** Issue 39040 has been marked as a duplicate of this issue. ***
Comment 7 Martin Roskanin 2004-02-02 15:49:11 UTC
fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/DrawEngine.java,v  <-- 
DrawEngine.java
new revision: 1.32; previous revision: 1.31

/cvs/editor/libsrc/org/netbeans/editor/DrawGraphics.java,v  <-- 
DrawGraphics.java
new revision: 1.16; previous revision: 1.15
Comment 8 Milan Kubec 2004-02-20 09:24:33 UTC
Verified in dev-200402191900.