[img] Spectrum Line Editors
 MDFS::Info.Comp.Spectrum.Code.Editors Search  

The Spectrum allows you to enter text with the INPUT command, which displays an edit line at the bottom
of the screen. Other platforms allow INPUT to be used anywhere on the screen, and some have other features
such as copying characters elsewhere on the screen.

While the Spectrum accepts redirection with INPUT#2 to use the top of the screen, the editor itself does not
work properly. There are various methods here to implement a line editor anywhere on the screen.

lineedit.htm Short Basic routine to implement a line editor anywhere on the screen. Variants allow:
  • maximum line length
  • specified pad charater
  • editmc.htm Z80 routine to implement a line editor anywhere on the screen.
    editor.htm Full featured line editor, allowing cursor character copying, delete in both directions, delete to
    start and end of line.
    input.htm Simple use of INPUT forcing the size of the bottom screen to scroll up to the text position.


    Best viewed with Any Browser Valid HTML 4.0! Authored by J.G.Harston
    Last update: 12-Nov-2019