sted Module

Simple full screen text editor that runs on the Windows command window or Linux terminal window.

Keys

ESC : exit from the editor (prompts for saving changes, if file changed)

CTRL-S : save (prompts for a file name if file name is empty)

ENTER : enter line

CURSOR KEYS : moving the cursor

PAGE UP/DOWN : move page up or down

HOME/END : move to start/end of the line

CTRL-HOME or F3 : move to the start of the document

CTRL-END or F4 : move to the end of the document

BACKSPACE : delete a character from the left of the cursor

DELETE : delete a character from the right of the cursor

CTRL-Y : delete current line

Files

sted/Main.cm

Classes

class Editor
class Screen

Functions

int main(int argc, const char** argv)

Enumerated Types

public enum State

Function Details

main Function

int main(int argc, const char** argv)

Definition
Line 665 of sted/Main.cm