Okay, I found a way to greatly reduce the wasteful reparsing when nothing has changed but cursor moves. So that part of my worry has been solved. Leaving the cursor anywhere inside a tag will highlight it and its matching tag if any as requested.
DiapDealer is working on adding the required gui pieces and settings to enable and disable it.
If you do not like the background highlight colour used in dark mode, you can control that.
When in Dark Mode go to Sigil Preferences and under CodeView colours simply adjust the "Line# Background" highlight colour as this is used for highlighting the background of the line # area, highlighting Marked Text, and now for highlighting open and close tags.
For many it appears to be too close to the normal dark background colour, so changing it to be something a few shades lighter in the grey tones, will make it more visible. This will not change your light mode highlight colours.
Testing and feedback especially with really large xhtml files would be most welcome for those who build their own.
Hope this helps.
|