P2 Taqoz V2.8: The Challenge: Make a Local Editor, so advantageous, that we will really use it?
When I write programs with Taqoz, I have P2 connected to a Windows PC and use the nice editor Notepad++. I then copy the program into the Tera Term. When the program gets longer, this procedure gets increasingly cumbersome and slower. Due to the limited serial buffer of Taqoz, problems start to arise and you have to load into a file on the SD card and then compile from SD card.
So, if there was an Editor in Taqoz, which had a certain "sufficient" level of comfort, perhaps you could really use this? The idea is still to have the PC with Teraterm, because web and pdf documents have to be accessible.
I have now begun to write this Editor. It is no longer a Block Editor but still has fixed length lines. And it does not spill over from line to line. When the file is saved then the fixed length of each line is converted to a line ending with CRLF. Taqoz has a file system with names and the FAT is compatible with Windows.
For my monitors a height of 48 of 54 lines and a width of 100 columns is much better than the old 16*64 screens. ( In my opinion, those old crammed screens have contributed a lot, that many people know Forth as write only language... )
The picture shows syntax highlighting and there is the feature to jump to the beginnings of definitions. In the upper part of the screen there is a list of the definitions as a table of contents, which can be used to jump very quickly. If a word is defined with PUB it will be printed in red in this table, which gives the possibility to structure.
The dictionary is used for the color too: If a word is not existent in the vocabulary, then it will be printed in yellow. So here we can have an advantage, that we are on the target machine. This feature is quite nice, because words with typos will be yellow too. In the picture, the inline assembler is yellow, because its vocabulary is not activated.
This is work in progress. I think, some sort of block copy will be needed and I am thinking about a feature which shows the first line of the definition of the word under the cursor. Jump to this definition and back again.
Also it seems feasible to display a relevant line from Bobs Forth Glossary.
Other thoughts, ideas?
Have fun, Christof