Ticket #167 (closed enhancement: fixed)

Opened 20 months ago

Last modified 10 months ago

Rectangular editing

Reported by: szabgab Owned by: azawawi
Priority: major Milestone:
Component: editor Version: 0.20
Keywords: visual edit vertical selection Cc:

Description

Allow the user to mark a rectangular part of the text and then whatever is being edited on one line should be repeated in all the other lines.
(In vi it is Ctrl-v to swtich to blockwise Visual mode and the Shift-i to start the editing that will be repeated)

Change History

Changed 11 months ago by Sewi

  • keywords visual edit vertical selection added

Changed 10 months ago by azawawi

Rectangular editing in Padre can be done using shift-alt and then use the arrow keys. That's already implemented in scintilla by default.

From yellowbrain STC docs,
"If <ALT> is pressed while selecting text, then the selection is forced to be rectangular. See SelectionIsRectangle? for a way to detemine the type of selection programmatically."

We could add an option to simplify that to the user.

Changed 10 months ago by azawawi

  • status changed from new to closed
  • resolution set to fixed

I am closing this one since it is already implemented by Scintilla by default. Please re-open if you think otherwise. I also added it as "Rectangular Selection" in wiki:Features.

Have a nice day :)

Changed 10 months ago by szabgab

  • status changed from closed to reopened
  • resolution fixed deleted

I would like to see this working with keyboard only. (no mouse)

Changed 10 months ago by azawawi

  • owner set to azawawi
  • status changed from reopened to assigned

Changed 10 months ago by azawawi

  • status changed from assigned to closed
  • resolution set to fixed

It is already working using the keyboard and mouse. Shift-alt and move left and right using your keyboard.

Please reopen if you think otherwise :)

Note: See TracTickets for help on using tickets.