I am implementing a clojure editor using MPS. To make the parens look like free text, i write a custom cell to draw right parens.
It looks like:
This looking seems good to me. However, when I perform selection, say, i want to select the innermost fn construct:
There should be only right paren be selected, however, in my current implementation, 4 right parens are selected.
Any suggestion to fix this? Thanks in advance.