Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#167 closed enhancement (fixed)

Rectangular editing

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


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 (7)

comment:1 Changed 10 years ago by Sewi

  • Keywords visual edit vertical selection added

comment:2 Changed 10 years 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.

comment:3 Changed 10 years ago by azawawi

  • Resolution set to fixed
  • Status changed from new to closed

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 :)

comment:4 Changed 10 years ago by szabgab

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:5 Changed 10 years ago by azawawi

  • Owner set to azawawi
  • Status changed from reopened to assigned

comment:6 Changed 10 years ago by azawawi

  • Resolution set to fixed
  • Status changed from assigned to closed

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 :)

comment:7 Changed 9 years ago by szabgab

  • Component changed from editor to Rectangular Editing
Note: See TracTickets for help on using tickets.