DeltaEscher / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Feature Request: Block insert with or without characters selected #492

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Thanks for a great editor.  Very good job!

Notepad++ and other editors have a feature where one can highlight a column 
or select a column of text and start typing to insert or overwrite the 
selected column.

It would be great to have this feature and also a keyboard shortcut to go 
into block select mode.

-- Amal

Original issue reported on code.google.com by akhailt...@gmail.com on 11 Mar 2010 at 2:12

GoogleCodeExporter commented 8 years ago
I forgot to give and example.  Say we have the following text:

  0123456789
  0123456789
  0123456789

Say I want to insert a column of text between 4 and 5.  I could highlight 
between 4 
and 5 and start typing (abc) to result:

  01234abc56789
  01234abc56789
  01234abc56789

Then I could block select columns 7 and 8 and start typing to result:

  01234abc56xyz9
  01234abc56xyz9
  01234abc56xyz9

-- Amal

Original comment by akhailt...@gmail.com on 11 Mar 2010 at 2:16

GoogleCodeExporter commented 8 years ago
Hi,

This already exists, its slightly awkward but will be improved once wxWidgets 
3.0 is
released.

1) put cursor in some text
2) Ctrl+Shift+| (Edit=>Column Mode) to activate column edit mode
3) Hold down Shift and use up or down arrow keys to select the lines you want 
to edit
at that column.
4) Type in what you want to add

Original comment by CodyPrec...@gmail.com on 11 Mar 2010 at 3:25

GoogleCodeExporter commented 8 years ago
Great thanks!  It works, but as you said it's a bit awkward.  Especially the 
highlighting of text makes it difficult to know what part of text would change! 
 When I 
move the cursor up/down when holding shift, all the text is highlighted and it 
is 
difficult to see where the text would be inserted/replaced!

-- Amal

Original comment by akhailt...@gmail.com on 12 Mar 2010 at 3:33