Home Download Buy Blog Forum Support

Advanced multiSelect (like TextMate)

Advanced multiSelect (like TextMate)

Postby oxman on Sun Aug 29, 2010 10:47 am

Hi,

The multiSelect is great, but there is a missing feature, lets me show that with picture (on TextMate) :
You start with a multi selection :
Image
Then you move the cursor where you want start typing :
Image
And you type :
Image
Like you see, the text isn't written at the same position for each line, instead the text is writtend at the end word position of each line.
This is amazing :)
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

Re: Advanced multiSelect (like TextMate)

Postby Anomareh on Sun Aug 29, 2010 12:07 pm

There are multiple ways of doing that in Sublime and tbh TextMate's way isn't very clear in showing what's going on :s

1) Ctrl + left click allows you to add new cursors. So click after the "e" in name, then ctrl + left click after the "e" in price, then ctrl + left click after the "d" in released, and then just type.
2) Highlight "</th>" after name. Then hit ctrl + d twice. This will select the next two occurrences of "</th>". Then just hit the left arrow key and type.
3) Click before the first "<th>". Hit ctrl + alt + down arrow twice. Hit the end key. Hit the left arrow key 5 times. Then type.
4) Middle click and drag from the beginning of the first "<th>" straight down to the beginning of the last "<th>". Hit the end key. Hit the left arrow key 5 times. Then type.
5) Middle click and drag from a ways behind the line with the first "</th>" on it straight down to the end of the last "</th>". Hit the left arrow key 5 times. Then type.

Obviously some of these methods are less efficient than the others but I figured I'd mention them in case you weren't familiar with all the ways to manipulate selections.

Let me know if this wasn't what you were talking about or you have any other questions about multiple selections.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Advanced multiSelect (like TextMate)

Postby oxman on Sun Aug 29, 2010 1:35 pm

Its perfect, thanks :)
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests