11-13-2023, 11:16 PM
Updated SB-Prime to better handle lexing of large files. Lexing is done pretty much character by character using regex to identify numbers keywords etc.
My fix is to limit this to 1000 characaters (the ones usually visible on cuurent page as required). Sometimes the lexing may lag a bit (no coloring until a bit of scrolling) when more than 1000 characters on a page with long lines maybe, but overall I think it is an improvement.
This should also fix formatting, code folding etc - hopefully.
My fix is to limit this to 1000 characaters (the ones usually visible on cuurent page as required). Sometimes the lexing may lag a bit (no coloring until a bit of scrolling) when more than 1000 characters on a page with long lines maybe, but overall I think it is an improvement.
This should also fix formatting, code folding etc - hopefully.