Shop OBEX P1 Docs P2 Docs Learn Events
simple text editor — Parallax Forums

simple text editor

mparkmpark Posts: 1,305
edited 2009-03-10 12:13 in Propeller 1
Here's a little full-screen text editor. It's like Notepad (in Windows) with word-wrap off, so typing long lines causes everything to scroll sideways.

It understands the following commands:
  • ENTER(CR) Carriage return
  • BKSP Delete to the left
  • DEL Delete to the right
  • ←, →, ↑, ↓ Cursor movement
  • HOME Start of line
  • CTRL-HOME Start of file
  • END End of line
  • CTRL-END End of file
  • CTRL-O Open a file (on SD card)
  • CTRL-S Save to a file (on SD card)
  • CTRL-ALT-DEL Reboot
The code is a mess and no doubt full of bugs. Use at your own risk.
Requires HYDRA, NTSC TV, PS/2 keyboard, SDMAX SD card interface (conversion to non-HYDRA platforms should be straightforward).

Comments

Sign In or Register to comment.