News for hackers. Stuff that matters.
Re:We are rewriting CodeMirror by louisstow on Wednesday August 29, 2018 @02:10AM (#17866047)
Hi Marijn. Big fan of ProseMirror. Would you look at building CodeMirror on top of (or at least sharing code with) ProseMirror so both projects can benefit from the effort?
Re:We are rewriting CodeMirror by marijn on Wednesday August 29, 2018 @02:41AM (#17866170)
There's a lot of architectural influence on the new CodeMirror from our ProseMirror work, but the actual systems are different enough that code sharing didn't really work (or, at least, would add enough levels of extra indirection and complexity to the reused code that it's not worth it—code size is a significant cost in JS components)
Re:We are rewriting CodeMirror by amelius on Wednesday August 29, 2018 @05:27AM (#17866910)
This makes me wonder. What would happen if you'd embed a piece of code inside a text document? Would you need to embed a CodeMirror instance inside a ProseMirror instance?
Re:We are rewriting CodeMirror by adrianheine on Wednesday August 29, 2018 @07:09AM (#17867280)