You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm having problems using Geany in Clojure files with regular expression, using the #"pattern" reader macro. Sometimes the closing double quote is interpreted as an opening quote and whatever comes after, as a string. I think it happens when I need to use the parens to capture a group in the pattern. My Geany version is 1.27, my system is Linux Mint 18.2 Sonya.
Any ideas? Thanks in advance!
Here's a screen capture of a simple example to illustrate the problem (this code works, the output of lein run is Hello,):
The text was updated successfully, but these errors were encountered:
Its simply that the Clojure filetype is built on the Lisp filetype, and uses the Lisp highlighting lexer. But #" is undefined in Common Lisp so it skips the opening " and starts a string at the closing ".
Highlighting is done by the Scintilla editing widget we use, which is a separate project so you should report it there and maybe it can be added since #" is undefined in Lisp.
Hello,
I'm having problems using Geany in Clojure files with regular expression, using the #"pattern" reader macro. Sometimes the closing double quote is interpreted as an opening quote and whatever comes after, as a string. I think it happens when I need to use the parens to capture a group in the pattern. My Geany version is 1.27, my system is Linux Mint 18.2 Sonya.
Any ideas? Thanks in advance!
Here's a screen capture of a simple example to illustrate the problem (this code works, the output of lein run is
Hello,
):The text was updated successfully, but these errors were encountered: