Shop OBEX P1 Docs P2 Docs Learn Events
P2 Text Editor (work in progress) — Parallax Forums

P2 Text Editor (work in progress)

This FlexSpin C text editor actually works (to a certain extent).
Not finished and missing some important things though...

Taking this old terminal text editor and making it work more like Notepad in Windows.
https://forums.parallax.com/discussion/172914/mvi-svi-text-editor#latest

Added a blinking cursor to the 1080p VGA driver and have it so can move around on screen by clicking mouse, like you'd expect.

At the moment, when you click on "Open" it will show you a list of all ".txt" files on uSD card. (Or, you can edit platform.h and use Plan9). Either click or navigate with keyboard arrows and hit enter to select a file.

"Save" function seems to work.

Only works for UTF-8 files at the moment.

There are 2 big things missing that I know of. One is backspace on first column not doing what you expect. Second is you can't pan the screen sideways to see the end of long lines for some reason.

Hardware setup is Eval board with A/V accessory on basepin 0 and USB accessory on basepin 24 with USB keyboard/mouse combo in upper USB port. But, you can use the PC keyboard with terminal window although that isn't 100% with arrows.

Easiest way to run this is to open p2edit.c with FlexProp and run it (or load the binary).

Comments

Sign In or Register to comment.