Feature #411
E1.6.5 - PgUp and PgDn implemented
| Status: | Closed | Start: | 03/03/2010 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | 03/03/2010 | |
| Assigned to: | John Wimbish | % Done: | 100% |
|
| Category: | Windows | Spent time: | - | |
| Target version: | 1.6x | Estimated time: | 2.00 hours |
Description
I had never gotten around to implementing PgUp and PgDn.
Rather than do a lot of new logic, I just call the LineUp/LineDown methods until the text insertion point as traveled sufficiently far; but also resetting the scroll position so the relative position of the insertion point remains at the same place on the screen. This approach is a little more CPU intensive (though it doesn't seem to matter); but makes use of the boundary condition handling that is already in place.