Post Reply 
a good code editor for HP Prime
11-22-2019, 06:01 AM (This post was last modified: 11-22-2019 12:56 PM by FrankP.)
Post: #12
RE: a good code editor for HP Prime
Hi Steve,
thank's a lot for your investigations!
I guess physical Prime does not survive DIMGROB_P(G1. In Chong's original sources the graphic was set to 'DIMGROB_P(G1,1024,13*rowm+5);' with rowm=400. It's a pitty that I have no physical Prime. So I can only ask you to change in line 558 of CodeEditor 1.4:
Code:
// DIMGROB_P(G1,pixmaxwidth,13*maxnumrows+5); // text
DIMGROB_P(G1,1024,13*400+5);
I have no idea what physical Prime is doing when scrolling and TEXTOUT_P go beyond row 400. Emu simply shows white space.

If this changed DIMGROB_P will show bigger files, it means CodeEditor would need to display blockwise on physical Prime. Something not foreseen in the actual concept of slurping in a file as one big list of strings and show it in one big memory eating graphic.
I fear when changed DIMGROB_P lets program execution continue, that parsing lines takes inaccaptable long time on physical Prime. On my Android parsing 800 lines takes about 4 seconds.

Frank
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: a good code editor for HP Prime - FrankP - 11-22-2019 06:01 AM



User(s) browsing this thread: 1 Guest(s)