Hi. First, thank you for the neat editor!
I have found an issue with syntax highlighter, when sometimes it sets the whole view to "comment" under some circumstances.
To reproduce:
_The file to open:_
https://github.com/skontar/update-checker/blob/a810f6b71449dbbc03d033fc598f48151892a799/update_checker.py
_The terminal size:_
80x24 (xfce4-terminal)
_Scroll so these lines are the only visible:_
83-104
See the screenshot for details.

Hmm unfortunately there is nothing I can do about this without making a lot of changes to the syntax highlighting engine. I do plan on making the changes, but I can't do it right now.
The issue is caused by micro only checking a subset of the buffer for syntax highlighting (for speed purposes), but since Python uses """ for both starting a comment and ending a comment, micro can't know if a """ is the start of a comment, or if it is the end of a comment which started out of the subset being checked.
Understood. Hopefully you will be able to fix that in the future by some clever optimization. Unfortunately I know nothing about Go, so I cannot help. Keep up great work, you have saved me from Nano and Vim suffering!
I have a similar error on the left to the right 孝erminator Gnome Terminal
Shell: Fish

That seems like syntax highlighting is simply not working in Terminator. This is probably because your TERM variable is set to xterm. You can fix this by settings TERM=xterm-256color or by changing the colorscheme in micro to simple (> set colorscheme simple).
Thank you! it helped me
TERM=xterm-256color
After reloading and then saving a file the syntax highlighting fails entirely and no subsequently opened files are highlighted. When multiple tabs/splits are open, it fails on the saved one, other splits/tabs retain highlighted state until they are saved.
Fixed in #593.
Most helpful comment
That seems like syntax highlighting is simply not working in Terminator. This is probably because your
TERMvariable is set toxterm. You can fix this by settingsTERM=xterm-256coloror by changing the colorscheme in micro tosimple(> set colorscheme simple).