https://github.com/albertopirillo/api-project-2020
Projects of Algorithms and Data Structures @ PoliMi. Implementation of an efficient text editor inspired by ed, with added undo and redo functionalities.
https://github.com/albertopirillo/api-project-2020
algorithms data-structures performance text-editor
Last synced: 10 months ago
JSON representation
Projects of Algorithms and Data Structures @ PoliMi. Implementation of an efficient text editor inspired by ed, with added undo and redo functionalities.
- Host: GitHub
- URL: https://github.com/albertopirillo/api-project-2020
- Owner: albertopirillo
- License: mit
- Created: 2021-04-30T16:49:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-01T16:01:59.000Z (over 4 years ago)
- Last Synced: 2025-01-01T18:41:49.602Z (12 months ago)
- Topics: algorithms, data-structures, performance, text-editor
- Language: C
- Homepage:
- Size: 107 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prova Finale di Algoritmi e Strutture Dati
## AA. 2019-2020
Implement a simple text editor with undo/redo functionality, in C99 language.
Ingegneria Informatica, [Politecnico di Milano](https://www.polimi.it/)
## Short commands description
- **`ind1,ind2c`** changes the text for the lines in between ind1 and ind2. The text following the command must be ind2-ind1+1 lines long, plus one more line with a dot only
- **`ind1,ind2d`** deletes the lines in between ind1 and ind2 (boundaries included)
- **`ind1,ind2p`** prints the lines in between ind1 and ind2
- **`nu`** undos the last n change or delete commands
- **`nr`** redos the last n undone commands
- **`q`** quit the program
## Software
- [CLion](https://www.jetbrains.com/clion/)
- [Valgrind](https://valgrind.org/)
- [GDB](https://www.gnu.org/software/gdb/)
## License & Copyright
Licensed under [MIT License](LICENSE)