TheStorm wrote:
About the graph screen editor I think that may be possible you would need some way of entering and exiting the built in menus and storing whatever option they selected. If you have the cxCurApp set up correctly it should show you the correct menu items their may even be a way to trick ti-os into displaying the editor on the graphscreen with some hooks and flag settings. I could maybe look into it after I finish with my two 86 project.. if I ever actually finish any of them.
A program editor using the small font is more involved than that. It would have to take into account the variable width font when moving from one token to the next, and with displaying things.
I looked into this some more, and it's just impossible using the small edit buffer routines. All the different methods, including the multi-line ones, won't let you enter newlines into it. You could use a hook to change kEnter to what you wanted, but the edit buffer code just doesn't handle moving from one line to another at all. That's essential, plus it won't let you load in the contents of a program, although that might be worked around through changing the variable type to a string or similar.
You'd have to rewrite the small edit buffer routines with that in mind, but the essential entry points are documented, so if one wants to make the effort and disassemble it all, then reproduce it...it could be done.