Skip to content

Text editor written in C, tested in Linux terminal

Notifications You must be signed in to change notification settings

carrrina/text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Minimal text editor written in C

It was tested in Linux terminal, with no gui.

Functionalities: insert text, backspace, delete (a line or a specific number of characters), go to character, go to line (for moving the cursor), undo, redo, quit & saving the text to a specific file.

Data structures:
- a simple linked list which holds a line of text
- a stack for storing the user commands
- a double linked list for storing the whole text, char by char
- if the 'undo' command is met, the previous command is stored in a queue and, if the 'redo' command is then met, the command is put back in the stack

About

Text editor written in C, tested in Linux terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published