Closed AVHon closed 2 years ago
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
This seems to be fixed now (or at least there is a workaround)
Sometimes, when I open a script, an error message pops up. This only happens some times when I open a sript. I have not been able to find any pattern. If I open and close the same file several times, some times I will get an error, and some times I won't.
Here is an example from opening a Python script:
Here is another example from opening an IJ1 macro:
Here is another example, form opening the same IJ1 macro. (exactly the same)
Most of the time, these errors don't seem to represent any actual problem -- the only unexpected behavior is that an error popped up. Sometimes, however, the syntax parser actually fails. For me, this always manifests itself in the same way: starting from some line in the middle of the file, every line below it is highlighted as a comment. I can fix this by going to the last line that isn't highlighted as a comment, commenting it out, and then uncommenting it. This always corrects the syntax highlighting for the rest of the file.
ImageJ 1.51t, Fiji Distribution, Java 1.8.0_66 (64-bit)