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 168075 - 'empty-page-bottom' not working
Summary: 'empty-page-bottom' not working
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 09:19 UTC by ricktw
Modified: 2009-09-22 09:29 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 ricktw 2009-07-03 09:19:46 UTC
The new feature ('empty-page-bottom'; no clue how to name it) is not working when no scrollbar is available.

When to file is made larger and the UI displays a scrollbar, than the user is able to scroll the last line to the middle
of the screen.

I do wish to thank you guys for implementing this new feature: I really like it very much!
Comment 1 Miloslav Metelka 2009-09-21 16:51:55 UTC
I have fixed the problem by adding the extra virtual height in all cases.
Decreased the virtual height to 1/3 of the viewport height (as discussed later in issue 161700).
I have moved the code from QuietEditorPane into editor's view handling code which is a better location (allows to
control the content of the virtual area).
http://hg.netbeans.org/jet-main/rev/6318eed4f91f
Comment 2 Quality Engineering 2009-09-22 09:29:38 UTC
Integrated into 'main-golden', will be available in build *200909220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6318eed4f91f
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #168075 - 'empty-page-bottom' not working.