News for hackers. Stuff that matters.
Re:Sublime Text 3.0 by joncalhoun on Wednesday September 13, 2017 @09:54AM (#15238238)
Kudos to the ST team for never trying to patent or sue random companies for using the multi-select feature. That feature alone has helped improve so many editors.
Re:Sublime Text 3.0 by danielvf on Wednesday September 13, 2017 @10:01AM (#15238297)
Note that that feature was in TextMate, which was Sublime's inspiration.
Re:Sublime Text 3.0 by jskinner on Wednesday September 13, 2017 @10:16AM (#15238453)
No, it wasn't. I believe TextMate had a feature where you could edit multiple lines at once, but it was part of a column selection mode, it certainly wasn't free form multiple selections.

Multiple Selections were one of the earliest core features built for Sublime Text, and weren't inspired from other software. I don't think TextMate existed when I implemented this.

Re:Sublime Text 3.0 by mmjaa on Wednesday September 13, 2017 @10:43AM (#15238728)
PC-Write had it, long, long ago and .. like ST .. this feature was the only reason I used that app.
Re:Sublime Text 3.0 by shubhamjain on Wednesday September 13, 2017 @12:20PM (#15239757)
I can't comment on how well it was implemented in PC-Write but it won't be far-fetched to say that Sublime made multiple-selections mainstream. I had seen some references to vim plugins that offered that feature but it had limited abilities. The three ways of doing multiple selections—selecting multiple instances of a word, placing multiple cursors downwards in succeeding lines, and using point and click—made Sublime's implementation vastly more powerful.
Re:Sublime Text 3.0 by mmjaa on Wednesday September 13, 2017 @03:05PM (#15241515)
Back in the day (early-mid 80's), PC-Write was kind of like the SublimeText of the era.

Multiple-select was indeed one of the key reasons to use it, as a programmers editor, even though it was intended for more general-purpose word processing tasks.

Anecdotal experience: my first unboxing of ST2 led to the proclamation: "finally, someone has done multi-select cursors again, almost as good as PC-Write back in the day!"

Re:Sublime Text 3.0 by armandososa on Wednesday September 13, 2017 @01:09PM (#15240299)
hey! I used PC-write back in the nineties. I have nothing to add, just happy to find another user of that softeare.
Re:Sublime Text 3.0 by danielvf on Wednesday September 13, 2017 @12:41PM (#15239993)
You are correct - as you already know. I was wrong

TextMate 1 had multiple column editing, but true multi caret editing was not until TextMate 2 in 2011.

Re:Sublime Text 3.0 by jacobolus on Wednesday September 13, 2017 @02:58PM (#15241460)
It had already been implemented in the alpha versions of TextMate 2 earlier. But it’s quite plausible that the two implementations were independent.

... Unlike most of Sublime Text which was a close copy of TM features except for the ability for users to edit customizations, making the Sublime community a giant leech that sucked all of the air out of TextMate bundle development without ever contributing anything back.

Sad history.

Re:Sublime Text 3.0 by joncalhoun on Wednesday September 13, 2017 @10:05AM (#15238333)
EDIT: Leaving the original comment below for posterity, but it looks like the TextMate article I found on this doesn't predate ST's multi-select, so I have no idea which is true. I'll just take the ST devs at their word :)

Interesting. TIL

It even looks like TextMate implemented the individual copy/paste buffer for each cursor correctly as well, something that VSCode had horribly wrong the last time I tried to use it.

Do you know if this only worked with the cmd+click cursors, or did it also support the cmd+d mode to select the same word in multiple places?

Regardless, kudos to TextMate as well :)

Re:Sublime Text 3.0 by jhgb on Wednesday September 13, 2017 @10:05AM (#15238331)
Didn't Emacs have something like this before ST?
Re:Sublime Text 3.0 by hellofunk on Wednesday September 13, 2017 @10:06AM (#15238350)
Probably. I've used it in Emacs for quite a while, but I'm not sure where that falls in the history with the sublime text.
Re:Sublime Text 3.0 by giancarlostoro on Wednesday September 13, 2017 @10:08AM (#15238377)
Indeed, they at the very least made it known / very popular to use. I realized JetBrains IDE's have support for it as well and it comes in really handy from time to time.
Re:Sublime Text 3.0 by tskaiser on Wednesday September 13, 2017 @10:10AM (#15238390)
multi-select is by no means an ST invention.
Re:Sublime Text 3.0 by jskinner on Wednesday September 13, 2017 @10:23AM (#15238544)
As far as I'm aware it is. If you know of an implementation done before 2008 I'd love to know about it.
Re:Sublime Text 3.0 by mmjaa on Wednesday September 13, 2017 @10:44AM (#15238739)
PC-Write had it in the 80's.

https://en.wikipedia.org/wiki/PC-Write

Re:Sublime Text 3.0 by icebraining on Wednesday September 13, 2017 @10:52AM (#15238829)
In LAPIS (1999), you could not only select multiple things, as it could guess what you meant to select based on the structure of the text: http://groups.csail.mit.edu/graphics/lapis/index.html
Re:Sublime Text 3.0 by panic on Wednesday September 13, 2017 @10:34AM (#15238644)
jEdit appears to have had multiple cursors since at least 2005, though I don't know how useful they were.
Re:Sublime Text 3.0 by billbrown on Wednesday September 13, 2017 @12:24PM (#15239806)
Out of curiosity: I looked up the jEdit developer and it turns out that he's currently working on the Swift compiler at Apple!

https://twitter.com/slava_pestov

Re:Sublime Text 3.0 by billbrown on Wednesday September 13, 2017 @11:27AM (#15239166)
They worked great and I stayed with jEdit long past when it was reasonable to do so because of that and so many other amazing features.
Re:Sublime Text 3.0 by icebraining on Thursday September 14, 2017 @07:49AM (#15246965)
Why did it stop being reasonable?
Re:Sublime Text 3.0 by jdc0589 on Wednesday September 13, 2017 @10:58AM (#15238876)
jEdit was a seriously under rated text editor, I used the CRAP out of it in college.
Re:Sublime Text 3.0 by badsectoracula on Wednesday September 13, 2017 @04:03PM (#15242067)
Was? It is still being developed, the last version was released six months ago:

https://sourceforge.net/projects/jedit/files/jedit/5.4.0/

Re:Sublime Text 3.0 by jdc0589 on Wednesday September 13, 2017 @10:27PM (#15244580)
nice, I had no idea.
Re:Sublime Text 3.0 by throwaway6845 on Wednesday September 13, 2017 @05:33PM (#15242918)
OS X has always had it, albeit a fairly limited implementation. Try it in TextEdit.
Re:Sublime Text 3.0 by clairity on Wednesday September 13, 2017 @10:48AM (#15238786)
yes! this was the feature that won me over (on top of the great syntax highlighting on black background). /happy sublime text user