dorkhub

text-editor

Text editor with GUI made in c++

JonSeijo
C++17230 forksMITupdated 3 years ago
git clone https://github.com/JonSeijo/text-editor.gitJonSeijo/text-editor

text-editor

Text editor made in C++ using SFML

This 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

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


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.org

A 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

Notes

DejaVuSansMono.ttf https://dejavu-fonts.github.io/

FreeMono.ttf http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt

SFML 2.4 https://www.sfml-dev.org

more like this

r2

Free open-source Cloudflare R2 desktop client and S3 GUI for macOS, Windows, and Linux. Manage Cloudflare R2, AWS S3, M…

TypeScript50

search

search projects, people, and tags