Posted: 07.07.2021 12:56
With my existing user.json, with bracket_highlight and lexer_dynamic_hilite both turned off, and starting a new HTML file from a template, the lag is gone, or so it seemed when I tried it first. I loaded up an existing HTML file and tried typing in the <body> and the lag was back. The file I was working on has a few calls in the head to scripts and a style sheet, like:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstr ... ap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/j ... "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ ... "></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstr ... "></script>
That is the only real difference between the template-created file and my own HTML, but the difference was clear. I don't think it could possibly make any difference, but I report it just for completeness.
Stripped my user.json back to nothing at all (so I am guessing that Cuda falls back on the defaults) and created an HTML file from template, expecting acceptable performance as bracket_highlight and lexer_dynamic_hilite are off by default, but surprisingly, the lag was *much* worse, as bad as it has ever been.
When I mentioned about the body tags highlighting on and off, I knew what the feature _was_, but I was trying to say that the tag was on, then off, as I typed, for no *particular* reason I could see, when I was typing before the closing tag. If I am between the tags, then they should be on (if the feature is activated) I thought, but they changed as I typed, not staying on when I was between the opening and closing tags, as I expected. Is that assumption wrong?
As for the console panel, that was an issue with the Markdown preview plugin wanting the 'R' lexer, which has not been installed by the multiple installer I guess when the Markdown Preview plugin was added by me. I deleted all the plugins when trying to get to the bottom of the problem, and re-installed CudaText clean, so I can't as things stand now, re-create that for you.
In summary, with bracket_highlight off, and lexer_dynamic_hilite off, I am still seeing significant lag in certain cases with HTML files, on Mac. Linux with an identical user.json is fine, but I noticed today that I am on 1.136.0.1 on Linux, but 1.137 on Mac, but the problems with lag were the same on the earlier version on Mac, and have never been an issue on Linux.
Anything else I could submit for information?
Thanks to all for patience with this one, and for your time/thoughts.