Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JonSeijo/text-editor
Text editor with GUI made in c++
https://github.com/JonSeijo/text-editor
editor gui scratch sfml text text-editor
Last synced: about 1 month ago
JSON representation
Text editor with GUI made in c++
- Host: GitHub
- URL: https://github.com/JonSeijo/text-editor
- Owner: JonSeijo
- License: mit
- Created: 2017-04-10T01:27:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-06T12:46:23.000Z (over 1 year ago)
- Last Synced: 2024-08-07T18:28:01.913Z (5 months ago)
- Topics: editor, gui, scratch, sfml, text, text-editor
- Language: C++
- Homepage:
- Size: 1.08 MB
- Stars: 146
- Watchers: 3
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# text-editor
Text editor made in C++ using SFMLThis is a simple text editor made from scratch in C++. (Using SFML for window drawing)
Yes, thats it. Nothing fancy, nothing weird. Just a great learning experience.![Simple example](https://raw.githubusercontent.com/JonSeijo/text-editor/master/img/super_example.gif)
The editor is functional, you can write text, delete it, select it (keyboard AND mouse support). It has some nice features like swapping text lines.
![Swapping lines](https://raw.githubusercontent.com/JonSeijo/text-editor/master/img/moving_lines.gif)
----
## Compiling instructions
The editor uses SFML library as graphics controller, so it is needed for compiling. IMPORTANT: Needs version +2.4 !!
See https://www.sfml-dev.orgA working Makefile is included, works great assuming you have sfml installed correctly.
```
make && ./editor
```## Warning!
Be careful with the data you save!
## F.A.Q.
![Swapping lines](https://raw.githubusercontent.com/JonSeijo/text-editor/master/img/but_why.gif)
## Notes
DejaVuSansMono.ttf
https://dejavu-fonts.github.io/FreeMono.ttf
http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txtSFML 2.4
https://www.sfml-dev.org