Bug 142377 - in block selection mode, support "row insertion"
Summary: in block selection mode, support "row insertion"
Status: RESOLVED DUPLICATE of bug 56935
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-01 18:36 UTC by Hans Dembinski
Modified: 2007-03-04 17:12 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 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 ***