Monday, December 5, 2022

🚧 In the works: bug fix to resolve issue causing editor to become slow as program gets larger

This is a problem related to how the TiddlyWiki refresh mechanism works.

All visible content gets refreshed with every keystroke.

Normally, that is not an issue as long as "Tiddlers" (what wiki pages are called in TiddlyWiki) remain small.

But a BASIC program can easily become hundreds of lines long, and for every keystroke while editing that program, all visible content gets refreshed, including reloading the entire program in the editor.

The fix involves adjusting a TiddlyWiki configuration setting to "throttle" the refresh mechanism.  However, throttling will only happen on a case by case basis for tiddlers that have a flag set for throttling.

In a near-future version of BASIC Anywhere Machine, every new program will automatically get that throttling flag.

However, programs created in a previously created version of BASIC Anywhere Machine will need to have that throttling flag manually set via the "File" and "Properties" window.  (This setting will only be really important for programs beyond two or three hundreds lines.)

No comments:

Post a Comment

🖥 Fan Dance

This is a port and mod of a SpecBAS program by ZXDunny. Run the program View the source code And, a "less is more?" version: Run t...