Found another one, but I think you might know this one.
This doesn't parse, because of the smiley 🙂 in the ;; comment halfway the function.
if I remove the smiley that is in the comment, the function can get evaluated properly, and functions.
There is also some drawing issues when I increase the size of the terminal after liquid has started (on windows, not using jframe). Making the window smaller works fine with liquid, and going from small to up to the original size works fine as well. Going larger, I get the black horizontal bar at the bottom duplicated.
and quitting not always works - getting this exception right now:
Hi @bvs I have now fixed the redraw problem and the exit exception and made a commit. As for the evaluation part, yes, I did know that. When I implemented eval-last-sexp I decided to do the very simple and very fast parenthesis matching that would cover 95% of the cases. Making it perfect, would require parsing from the top of the file, but I also need to be able to evaluate clojure snippets inside prose or inside comments (which I do quite a lot, to evaluate samples that should not be evaluated on runtime 🙂 ) The best compromise would probably be to paren-match backwards and parse forward. I will put that on my todo to investigate. Until then a workaround would be to select the function and evaluate. If there is a selection the selection will be evaluated when pressing e. If there is no selection the smallest s-expression containing the cursor will be evaluated.