0 Members and 1 Guest are viewing this topic.
(I should note that I decided to make the Editor app separate from the Grammer 3 app.)
Last night in HCWP, I was fairly productive and tested a bunch of things including the font and making certain tokens invisible (like Then and End tokens).
The editor already takes over 7000 bytes of memory. I also need to get the editor working for Grammer 3 programs before I can really progress with making the interpreter. If I can, I will include the editor with Grammer 3 (if they fit). They do share a bunch of the same code, so that should make it easier. EDIT: @ben_g: What do you mean by code folding? Do you mean like hiding blocks of code unless the user clicks on it to expand it? If so, then yes, but it won't be easy to implement for the BASIC editor.
[+]function doSomething(argument) {...}
Also, for the indenting, I have come into a problem that I am trying to fix. Trying to scroll backwards isn't working very nicely at the moment for the indents, but I am hoping that I will have a fix. However, the perfect solution might cause a hit to speed for the editor (scanning all of the code before it to figure out the indent).