News for hackers. Stuff that matters.
Re:We are rewriting CodeMirror by leeoniya on Tuesday August 28, 2018 @01:26PM (#17860763)
how do you plan to handle multiple cursors (eg: simultaneous-edit & collab), vertical / column selections, and multiple disjoint selections?
Re:We are rewriting CodeMirror by marijn on Tuesday August 28, 2018 @03:45PM (#17862208)
The DOM selection corresponds to the primary selection, the others are drawn using CSS spans. This means you only get touchscreen-style handles on the primary one, but I think that's acceptable.
Re:We are rewriting CodeMirror by antoineMoPa on Tuesday August 28, 2018 @02:29PM (#17861458)
By the way, how do we select multiple lines in chrome? I can do it in firefox in the "old" CodeMirror, but not in my chromebook.
Re:We are rewriting CodeMirror by marijn on Tuesday August 28, 2018 @03:46PM (#17862217)
Mouse drag or shift up/down works for me? Or what kind of selecting are you trying to do? (Or, if this was about multiple _cursors_, those are only half-implemented, and not exposed through the UI yet.)