Skip to content

last-genius/text_editor_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic text editor built using curses library in Python. A playground to implement tree of changes.

Tree of changes records all the changes to the text and allows for more than linear undo-redo relationship, instead opting for a tree of changes starting with a root (empty file).

Example of functionality:

git clone https://github.com/LastGenius-edu/text_editor_tree.git
cd text_editor_tree
python3 main.py

Example file went from empty in four different ways:

We can choose the third branch (full of 'l's):

And then redo the whole file by going further in that branch:

Works on Linux, shouldn't probably work on Windows.

About

Basic text editor to implement tree of changes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages