Just check the screenshot
I'm using MacOS 10.12.4, this happens all the time
Just check the screenshot
I'm using MacOS 10.12.4, this happens all the time
Thank you for reporting this problem. Unfortunately, I cannot reproduce it locally.
I suspect that maybe there are some invisible control characters in that file (this can happen when copy-pasting from PDFs) that confuse the highlighter. Could you maybe send an example project exhibiting this problem to support@haskellformac.com? Then, I could test that to determine where the problem is.
I do copy codes from a PDF file. And I open the file in emacs and found out that there was a ^M character inside first line. After I delete it the syntax highlight became correct.
Problem solved, Thank you!
I was also hit by this. It is possible to remove such characters at paste event?
I never experienced such problems with my main WebStorm IDE yet I copy-pasted from PDFs a lot.
Hi Ivan,
Sorry that this is causing problems. I assume, you are running in the latest version of Haskell for Mac (i.e., v1.4).
There is some filtering of characters now, but it seems there us still something coming through. If you could send me a sample project that has these characters from pasting, I could make sure that these are also filtered out.
Thanks!