Skip to content

A TextEdit like editor written in rust for speed and efficiency

Notifications You must be signed in to change notification settings

d0rianb/text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Editor

Text Editor is a rust project aiming to recreate a modern textEdit (for mac).

It's focus on speed and efficiency. The editor uses animations to make the experience smoother than other ones. Text Editor uses pattern matching to recognize lists or parenthesis for instance.

For now, the editor look like this : App Screenshot

This editor is very light (1.5 Mo vs 37 Mo for Vim) and doesn't consume much RAM or CPU while running thanks to render cycle optimization.

To run the projet (in debug mode) :

$ cargo run

List of the differents keybinds

Shortcuts Actions
cmd + n New file
cmd + s Save file
cmd + o Load a file
cmd + u Underline
cmd + c Copy
cmd + x Cut
cmd + v Paste
cmd + a Select all
cmd + l Select line
cmd + L Delete line
cmd + d Select word
cmd + D Delete word
cmd + +/- Change font size
cmd + w/q Exit

This projet is based on the Speedy2D crate for event loop and rendering.


2022 © Dorian Beauchesne

About

A TextEdit like editor written in rust for speed and efficiency

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages