Bug 61802

Summary: reformat source code should keep cursor position
Product: [Applications] kdevelop Reporter: tnagy <tnagy256>
Component: AstyleAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

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.