-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax Highlighting Error #152
Comments
Does this only happen to you on the Summary view, or other views as well? |
I think it's all views (I only use Full Source and Summary), but I cannot say with certainly. I will pay attention to conditions each time this happens in the future. |
Still happens in 2.6.0 -- but only the first time Summary mode is selected after opening the file. |
Yes, I still see this once in a while also. Seems to happen consistently with specific files and not with others. For me,
Because the problem isn't static (it goes away without changing the source code itself), I don't think it's a syntax rule issue solely but more likely an initialization problem related to syntax rules and that specific view mode. I also just noticed that if you scroll down (in Full Source or Condensed) view, as long as you've scrolled down enough (not necessarily to the method where the problem occurs) then stitch to Summary view, the problem will still be there but will start on a later line (i.e. it happens on fewer lines of the Summary display). This last symptom really does sound like something in the syntax highlight buffer is not being initialized properly upon file load and it being refreshed (up to a point) by the scroll action or cursor movement. That sounds like a good clue for me to follow in the code. |
This has been an ongoing issue: on occasion the syntax highlighting feature fails and causes a large chunk of the editor display to appear to be selected, except that the selection color is white. Switching back and forth between editor display modes will usually fix the screen.
The text was updated successfully, but these errors were encountered: