paren-soup
paren-soup copied to clipboard
A browser-based editor for ClojureScript
Although atoms such as numbers usually are formatted as single HTML elements in paren-soup, a single atom is sometimes formatted as multiple HTML elements. As a consequence, the cropped state...
When typing with the cursor just after a delimiter, the style of the inserted character briefly is styled as the delimiter. The challenge is that the same caret position may...
The `execCommand` function in Javascript is now [considered obsolete](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) but is used in `create-editor`: https://github.com/oakes/paren-soup/blob/13568c602a0d7f9db00a85a4207ffd2cd2aa4474/src/paren_soup/core.cljs#L453 Substituting with `(dom/insert-text! "\n")` seems to do the trick to replace the functionality.
Hey Zach, how could I use paren-soup in a React-based ClojureScript app using something like Reagent?
I imagine this is where Nightcode editor issues go. (This is in Nightcode 2.5.6 running on Windows) In this case, I pasted dependency info from github into the :depencencies vector...
Currently what paren-soup does with a statement is it evaluates it until the statement is finished, even when it might take a while to finish. For example: ```clojure (defn fibonacci...