Bug 142377

Summary: in block selection mode, support "row insertion"
Product: [Applications] kate Reporter: Hans Dembinski <mr_smith>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hans Dembinski 2007-03-01 18:36:07 UTC
Version:           2.5.5 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17-11-generic

Dear Developers,

for the programmer, block selection mode is really great, because it allows you to duplicate code easily in a very readable manner.

To further enhance this using style, I propose to implement the following.

a) user selects a single line of code and copies it into the clipboard

b) user selects a block via block selection and has "Overwrite" enabled

c) user presses a new short cut for "row insertion"

d) the line from the clip board is inserted in each line of the block selection, overwriting any existing code inside the selection.

I have been told, that a similar thing is implemented in vi.

Best regards,
      Hans
Comment 1 Dominik Haumann 2007-03-04 17:12:24 UTC
duplicate. (c|sh)ould be done via scripts in future.
(i.e. show command line, type-multiline-text <insert-your-text-here>)

*** This bug has been marked as a duplicate of 56935 ***