Bug 48842

Summary: passing the current line number to the external editor
Product: [Applications] kmail Reporter: mi+kde
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.4.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In:

Description mi+kde 2002-10-07 19:42:31 UTC
Version:           1.4.3 (using KDE 3.0.3)
Installed from:    compiled sources
Compiler:          gcc version 3.2.1 [FreeBSD] 20020916 (prerelease) 
OS:          FreeBSD (i386) release 5.0-CURRENTFreeBSD (i386) release 5.0-CURRENT

Sometimes I scroll through the quoted message prepared in the
reply or forward composer. Then I start editing and my external
editor comes up with the cursor at the beginning of the file.

Many editors will accept the line number to place the cursor at
initially if given on the command line. Perhaps, this can be
supported in Kmail, so I can do something like
	``xterm -e vi %f +%l''

Thanks!

	-mi
Comment 1 Martin Koller 2009-08-03 21:09:34 UTC
SVN commit 1006446 by mkoller:

FEATURE: 48842

Allow to pass the current line number from the internal editor to
the external editor by using %l


 M  +3 -0      kmeditor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1006446