*bump* As you can see in the above post, a lot of hard work made syntax highlighting and command completion with Ctrl-Space a reality. I must also tip my hat to Deep Thought, for providing sample code for writing a CodeMirror tokenizer that was MUCH clearer than the CodeMirror documentation, once again to Shaun McFall for the token XML files, my copies of which are rapidly diverging from the originals, and a second tip to Shaun for inspiring the color codes and classes of coloring I decided to use. I'm pretty confident that the BASIC highlighter is good, but considering that my Axe is not so good at all, and I cobbled things together from what I could find documentation-wise, please help me by testing completion and coloring in all languages. I should also mention that Deep Thought has given me kind permission to pull information from his Catalog project, provided that I credit him for transcribing TI's guidebook and link to the Catalog project. I will use this for displaying command arguments and explanations, if the user chooses to enable this.
Edit: Todo list:
Known Bugs:
[X] Fix -s-a-v-i-n-g-/- exporting single files vs projects (need different buttons)
___[X] Export String/Appvar/Program/List/Matrix directly above editor, along with Export CSV (and Export BBCode/HTML?) where appropriate
___[X] Export Project/Save Project at the top
[X] Ask about saving projects when opening a saved project
[ ] Things like A<|LMINE(1) turns into the <| symbol. Fix by syntax-highlighting token boundaries
[ ] Comments and \s don't get saved in the project list. Save plaintext of tokenized formats (strings, equations, programs, appvars)
[ ] Can't properly re-export .8xi/.8ci/.8ca as part of project
[ ] Make sure jsTIfied is paused on load + hidden
[ ] Neaten up alignment in the bar above the program editor
[ ] Resize things when calculator skin changes -> jsTIfied
[ ] Check that hovering over the project pane works, and make the hovering clearer.
Feature requests:
[X] Implement preprocessor -> comments
[ ] Sprite editor
[ ] Loop-counting
[ ] Indentation
[ ] User-resizeable code box
[ ] Exporting lists and matrices as CSV files
[ ] Delete projects from saved project list
[ ] Toggleable indentation, syntax highlighting, command hinting?
[ ] DOM Storage-saved preferences for above?
[ ] Autosave
___[ ] Need to send single file(s) on save
___[ ] Autosave on tab-switching
___[ ] Autosave on import/export to/from jsTIfied
___[ ] Autosave at ~1 minute intervals
___[ ] Autosave should be incremental
Edit: Todo list:
Known Bugs:
[X] Fix -s-a-v-i-n-g-/- exporting single files vs projects (need different buttons)
___[X] Export String/Appvar/Program/List/Matrix directly above editor, along with Export CSV (and Export BBCode/HTML?) where appropriate
___[X] Export Project/Save Project at the top
[X] Ask about saving projects when opening a saved project
[ ] Things like A<|LMINE(1) turns into the <| symbol. Fix by syntax-highlighting token boundaries
[ ] Comments and \s don't get saved in the project list. Save plaintext of tokenized formats (strings, equations, programs, appvars)
[ ] Can't properly re-export .8xi/.8ci/.8ca as part of project
[ ] Make sure jsTIfied is paused on load + hidden
[ ] Neaten up alignment in the bar above the program editor
[ ] Resize things when calculator skin changes -> jsTIfied
[ ] Check that hovering over the project pane works, and make the hovering clearer.
Feature requests:
[X] Implement preprocessor -> comments
[ ] Sprite editor
[ ] Loop-counting
[ ] Indentation
[ ] User-resizeable code box
[ ] Exporting lists and matrices as CSV files
[ ] Delete projects from saved project list
[ ] Toggleable indentation, syntax highlighting, command hinting?
[ ] DOM Storage-saved preferences for above?
[ ] Autosave
___[ ] Need to send single file(s) on save
___[ ] Autosave on tab-switching
___[ ] Autosave on import/export to/from jsTIfied
___[ ] Autosave at ~1 minute intervals
___[ ] Autosave should be incremental