Author Topic: Multiple cursors  (Read 1224 times)

greggman

  • Senior Community Member
  • Posts: 277
  • Hero Points: 14
Multiple cursors
« on: March 12, 2013, 02:32:54 am »
Multiple cursors? This is another sublime feature.

I use column select/edit all the time in Slickedit. I'll select N columns and start typing, deleting etc. It's great.

Sublime takes it one step further. The simple example is imagine I want to make a switch statement. I might type

Code: [Select]
CAT
BEAR
DOG
ELEPHANT

I can column select on the first column and type '    case ' in slickedit and sublime, but in sublime I can then press 'END' (go to the end of the line) and it puts a cursor at the end of each line even though they are different lengths. I can then type ":" to put the colon on each line.

I'm sure that would require some major re-architeching but I just thought I'd mention it.

Honestly, right now I just want more speed less jank :-)

jbhurst

  • Senior Community Member
  • Posts: 405
  • Hero Points: 33
Re: Multiple cursors
« Reply #1 on: April 11, 2013, 02:23:47 am »
The Sublime Text multiple cursors are ... truly ... Sublime.

I used to think nothing would ever beat SlickEdit's column editing support, though many tools offer a rudimentary form. But once I used Sublime's way of doing it, for many tasks I would not go back. There are still cases where SlickEdit's column editing is better, particularly when editing over more than a screenful of lines, but for most of my work I now prefer Sublime's way.

I wish I had a tool that combined the best of both!

John Hurst
Wellington, New Zealand

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4892
  • Hero Points: 397
Re: Multiple cursors
« Reply #2 on: April 11, 2013, 02:30:06 am »
Multiple cursors are definitely handy. It won't make next release though. Sorry

jbhurst

  • Senior Community Member
  • Posts: 405
  • Hero Points: 33
Re: Multiple cursors
« Reply #3 on: April 11, 2013, 09:06:43 am »
I didn't expect them in the next release. That's next week, right? ;-)

(Having used SlickEdit since 1996, I have a long-term view. :-)

John Hurst
Wellington, New Zealand

Teknomancer

  • Community Member
  • Posts: 26
  • Hero Points: 1
Re: Multiple cursors
« Reply #4 on: August 02, 2013, 11:52:09 am »
Multiple cursor (i.e. simultaneous editing of multiple selections) like Sublime Text?

Also, is there a way to use just the keyboard to do a vertical selection? I hate having to use the mouse, right click and drag to get vertical selections in Slickedit.

Phil Barila

  • Senior Community Member
  • Posts: 742
  • Hero Points: 61
Re: Multiple cursors
« Reply #5 on: August 02, 2013, 10:13:42 pm »
Also, is there a way to use just the keyboard to do a vertical selection? I hate having to use the mouse, right click and drag to get vertical selections in Slickedit.
@Teknomancer, in CUA emulation, Ctrl+B enables block selection, which sounds like what you are looking for.  If you are using another emulation, search for the select-block command in the keybindings setting.  If it's not bound in your emulation, you could bind it to a key combo.