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 228482 - Position.scrollTo() suboptimal
Summary: Position.scrollTo() suboptimal
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
: 232107 (view as bug list)
Depends on:
Reported: 2013-04-11 13:23 UTC by Milos Kleint
Modified: 2013-08-26 14:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2013-04-11 13:23:28 UTC
when using the IO selection api's Position class I typically in maven build  remember start or end of a given section. meaning the text that is interesting is typically a few lines after or before the Position's value. When calling switchTo() method (or similar name, cannot recall now) the output implementation typically satisfies itself with showing just the line of the position which effectively ends up being either the first or the last line of the output.

Ideally this would position the line someplace in the middle of the view (or at least allow a buffer of 5-10 lines above and below to be shown as well) and place the cursor at the right position.
Comment 1 Milos Kleint 2013-07-02 05:32:23 UTC
*** Bug 232107 has been marked as a duplicate of this bug. ***
Comment 2 Jaroslav Havlin 2013-08-26 14:45:19 UTC
Fixed. Please verify.