Closed pyscripter closed 1 year ago
See https://github.com/pyscripter/SynEdit/discussions/34 for the actual implementation.
@MShark67 Could you please have a look and test this new feature?
Initial testing seems very good! I couldn't break it in any of my tests. Performance seems good and I only saw slowdowns under extreme testing that would probably never happen in the real world. Nicely done!
@MShark67 Thanks. When you have some time could you please have a look at the related #35.
For highlighters that need a different default for Brackets than, '()[]{}' (e.g. XML) we need to set:
DefaultBrackets := '??';
Brackets := DefaultBrackets;
in their constructor. These brackets are also used in GetMatchingBracket.