We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Performance of the SB-Prime Editor
#4
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.
[-] The following 2 users Like litdev's post:
  • AbsoluteBeginner, Scout
Reply


Messages In This Thread
Performance of the SB-Prime Editor - by Scout - 11-12-2023, 04:06 PM
RE: Performance of the SB-Prime Editor - by Scout - 11-13-2023, 09:54 PM
RE: Performance of the SB-Prime Editor - by litdev - 11-13-2023, 11:16 PM
RE: Performance of the SB-Prime Editor - by Scout - 11-14-2023, 11:12 AM
RE: Performance of the SB-Prime Editor - by Scout - 01-13-2024, 02:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)