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 5613 - Jump to Next Error does not scroll the Compiler window nicely.
Summary: Jump to Next Error does not scroll the Compiler window nicely.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-02 22:46 UTC by Jesse Glick
Modified: 2007-09-26 09:14 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 Jesse Glick 2000-02-02 22:46:22 UTC
If you have compiled files that created a lot of errors (more than fit in the Compiler output window), the Next Error action does not behave very nicely. It does show the next error, i.e. make that
line visible; however normally this show it at the bottom of the window. Compilation errors typically *follow* the line which is hyperlinked, so the description of the error is not visible unless you

go the output window and scroll it yourself. Since normally someone will compile, then use Next Error to go to the first error, fix it, then to the second, etc., they will have to scroll every time, w
hich is annoying.

In OutPane.JumpActionPerformer, JList.ensureIndexIsVisible is called which only ensures that that one line is visible. I think jumping to a hyperlinked line should show an extra line or two of surroun
ding context. The docs for ensureIndexIsVisible give related methods which could be used to do this.
Comment 1 Jan Becicka 2000-08-03 11:51:59 UTC
Although this bug is fixed, the problem remains due to bugs in Swing. Output
window is not properly redrawed until you scroll it or otherwise force it to
redraw.
Comment 2 Quality Engineering 2003-07-02 17:19:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.