Bug 61802 - reformat source code should keep cursor position
Summary: reformat source code should keep cursor position
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (show other bugs)
Version: git master
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-29 15:12 UTC by tnagy
Modified: 2004-11-21 04:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tnagy 2003-07-29 15:12:19 UTC
Version:           gideon cvs kdevelop20030727 (using KDE KDE 3.1.1a)
Installed from:    RedHat RPMs
Compiler:          gcc 3.2 
OS:          Linux

The "Reformat Source" feature should keep the cursor position, and not put it back on top of the file. 

When I use this feature I feel obliged to F11 to see the line number, then after having reformatted the source code I have to scroll down to research my line.
Comment 1 Jens Dagerbo 2003-08-13 20:07:27 UTC
Implemented in CVS. 
Comment 2 Hendrik Kueck 2003-09-24 11:49:34 UTC
It would be nice if the line containing the cursor would also stay in the same
place on the screen after reformatting. 
Comment 3 Jens Dagerbo 2003-09-24 12:34:25 UTC
Very nice, but at the moment not possible. We don't have that kind of control through 
the KTextEditor interfaces.