descriptionFork of lines.love for browsing read-only text files; useful starting point for further forks
homepage URLhttp://akkartik.name/lines.html
repository URLhttps://github.com/akkartik/text.love
ownerrepo.or.cz@akkartik.com
last changeMon, 11 Mar 2024 04:36:01 +0000 (10 21:36 -0700)
last refreshSat, 27 Apr 2024 06:09:33 +0000 (27 08:09 +0200)
content tags
add:
README.md

An editor for plain text.

Not very useful by itself, but it's a fork of lines.love that you can take in other directions besides line drawings, while easily sharing patches between forks.

Designed above all to be easy to modify and give you early warning if your modifications break something.

Getting started

Install LÖVE. It's just a 5MB download, open-source and extremely well-behaved. I'll assume below that you can invoke it using the love command, but that might vary depending on your OS.

To run from the terminal, pass this directory to LÖVE, optionally with a file path to edit.

Alternatively, turn it into a .love file you can double-click on:

$ zip -r /tmp/text.love *.lua

By default, it reads/writes the file lines.txt in a directory relative to this app.

To open a different file, drop it on the app window.

Keyboard shortcuts

While editing text:

Exclusively tested so far with a US keyboard layout. If you use a different layout, please let me know if things worked, or if you found anything amiss: http://akkartik.name/contact

Known issues

Mirrors and Forks

This repo is a fork of lines.love, an editor for plain text where you can also seamlessly insert line drawings. Updates to it can be downloaded from the following mirrors:

Further forks are encouraged. If you show me your fork, I'll link to it here.

Feedback

Most appreciated.

shortlog
2024-03-11 Kartik K. AgaramMerge lines.lovemain
2024-03-11 Kartik K. Agaramadd a mirror and reorg mirrors
2024-02-17 Kartik K. AgaramMerge lines.love
2024-02-17 Kartik K. Agaramensure tapping on editor brings up soft keyboard
2024-02-08 Kartik K. AgaramMerge lines.love
2024-02-08 Kartik K. Agarambugfix in cursor positioning
2024-02-05 Kartik K. AgaramMerge lines.love
2024-02-05 Kartik K. Agaramfix yet another place
2024-02-05 Kartik K. Agarammore realism in one more helper
2024-02-04 Kartik K. Agarambugfix: don't clear selection on M-arrow
2024-02-04 Kartik K. Agarammore carefully pass the 'key' arg around
2024-01-15 Kartik K. AgaramMerge lines.love
2024-01-12 Kartik K. Agaramuse editor state font for width calculations
2024-01-12 Kartik K. Agaramdon't save settings on error in source editor
2024-01-12 Kartik K. Agaramfix still more issues with the previous scenario
2024-01-12 Kartik K. Agaramclean up test mocks before aborting
...
heads
6 weeks ago main