Chaffinch is a text editor written in Elixir using the Ratatouille toolkit. At the moment, the project is basically a learning exercise for me to get comfortable with Elixir. I do not in any way claim that this code is idiomatic or well thought out, but I hope it might become so.
Install elixir, clone this repository, and build a release:
mix deps.get
mix compile
mix release
At the moment, you have to set the file to be opened though an environment variable. You can start the application with a file opened like this:
CHAFFINCH_FILE=./welcome.txt _build/dev/rel/chaffinch/bin/chaffinch start
- Basic text editing in frame
- Status and message bars
- Basic control shortcuts
- File name and status at the top
- Handle text dimensions exceeding the window size
- X/Y scrolling
- Scrollbars
- File I/O
- Loading a file
with command line argumentsthrough an environment variable - Saving the current state
- Prompt when trying to close in a dirty state
- Loading a file
- More advanced controls, user configurations
- Improved design
- Menus/tabs ?
- Syntax highlighting