Author Topic: Multiple block/box selections  (Read 937 times)

carlpmiller

  • Community Member
  • Posts: 33
  • Hero Points: 1
Multiple block/box selections
« on: September 25, 2009, 03:41:52 am »
Forgot another feature from an editor a friend and I developed and used for many years...

Multiple block/box selections that are stacked in a first in, last out queue. You can operate against these selections across any file buffer. The use case is usually something along the lines of:

Edit files A, B, C, D.

Select some method in A, some lines in B, some box in C. Edit D and then start copying or moving those blocks into D. For example, the first copy would work against the box selection in C, then deselect it. The next copy would operate on the lines in B, finally a move would move the method from A to D (leaving both files modified).

Maybe something similar to this exists in SE today, but I'm not familiar with it.

hs2

  • Senior Community Member
  • Posts: 2744
  • Hero Points: 288
Re: Multiple block/box selections
« Reply #1 on: September 25, 2009, 09:14:10 am »
@carlpmiller: Try the 'list-clipboards' command (since v13 it's a neat, dockable toolbar). The clipboards (number is configurable) are created by 'copy', 'append-to-clipboard', 'cut', 'append-cut'. Check the help concerning these powerful commands. And this further improvement is under discussion ;)
HS2