Home Download Buy Blog Forum Support

*SOLVED* Build 2126 vertical selection insertion bug

*SOLVED* Build 2126 vertical selection insertion bug

Postby slestak989 on Tue Oct 18, 2011 9:58 pm

Interesting bug.

I was editing a block with a vertical selection. I had a list of vars in a column and wanted to preface them with a var name and operator for concatenation. I then wanted to add a suffix to the end of each line.

Inserting as I moved the cursor right, paste the length of the shorter strings, the cursor on those lines wrapped to the beginning of the line.

I have a pretty good explanation here.

http://screencast.com/t/yTZ0FeeQDFrI

I think the correct action here is the vertical select should stay at the end of each line and insert at that point (custom for each line.)
Last edited by slestak989 on Wed Oct 19, 2011 2:51 pm, edited 1 time in total.
Using ST2 on: Win7 Pro 64 || Win7 32|| Fedora 16
slestak989
 
Posts: 31
Joined: Tue Oct 04, 2011 3:40 am

Re: Build 2126 vertical selection insertion bug

Postby jps on Tue Oct 18, 2011 11:44 pm

This is by design. Column selection isn't a separate mode, it's simply a way to setup multiple carets/selections in a vertical manner. If you above example, if you pressed end (command+right on OSX), rather than the right arrow, you would have gotten the behavior you're after.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

*SOLVED* Re: Build 2126 vertical selection insertion bug

Postby slestak989 on Wed Oct 19, 2011 2:49 pm

Ah, tyvm. I'm still learning.

Do you think what did occur should be prevented? I agree the End key is a good thing. Maybe when you hit the end of the shorted line contained in the selection, do not respond to rt-arrow.
Using ST2 on: Win7 Pro 64 || Win7 32|| Fedora 16
slestak989
 
Posts: 31
Joined: Tue Oct 04, 2011 3:40 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 28 guests