[Bug 66135] New: Newly opened files and re-formatted files open with cursor at bottom of page. Should be centered, or in same position as before reformat.
Robert Shideleff
bigbob at shideleff.com
Thu Oct 16 23:10:08 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=66135
Summary: Newly opened files and re-formatted files open with
cursor at bottom of page. Should be centered, or in same
position as before reformat.
Product: kdevelop
Version: 3.0.0a7
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: bigbob at shideleff.com
Version: 3.0.0a7 (using KDE 3.1.4)
Installed from: Gentoo
Compiler: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
OS: Linux (i686) release 2.6.0-test7-bk3
There is a very nice feature where a newly opened file will have the cursor placed at the last location prior to it being closed. Similarly, the 'Reformat Source' option also brings you back to the place you were editing.
However, in both of these cases (probably using the same code) the file opens up with the file scrolled so that the cursor is on the very bottom line of the screen. In my humble opinion, this seems like the worst behavior you could have for this feature. It would be better if the document was scrolled so that the cursor was centered.
It would be even better if in the reformatting case, the cursor would appear more or less at the same place it was before the reformat took place. (Newly opened files would simply be centered.) If this is to difficult, simply centering it would be a better approximation then the dead bottom of the screen.
More information about the KDevelop-devel
mailing list