diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-04-09 14:14:03 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-04-09 14:14:03 -0700 |
commit | 0d913ba8f19e0d25d717a1f5748da6ab14567e1f (patch) | |
tree | 8f9b3c089c80efaf581dcca6b419642e04a97f3f | |
parent | b3a3321cd641975c0d0c438748a836d32a02d401 (diff) | |
parent | 4b43e9e85d985bcedd105fa9693ae751e5b6d0b6 (diff) | |
download | text.love-0d913ba8f19e0d25d717a1f5748da6ab14567e1f.tar.gz |
Merge lines.love
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | main.lua | 12 | ||||
-rw-r--r-- | source.lua | 7 |
3 files changed, 17 insertions, 3 deletions
diff --git a/README.md b/README.md index 5b3cfc6..c699e81 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,6 @@ While editing text: * `ctrl+=` to zoom in, `ctrl+-` to zoom out, `ctrl+0` to reset zoom * `alt+right`/`alt+left` to jump to the next/previous word, respectively * mouse drag or `shift` + movement to select text, `ctrl+a` to select all -* `ctrl+e` to modify the sources 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 diff --git a/main.lua b/main.lua index 4e8425e..0297c26 100644 --- a/main.lua +++ b/main.lua @@ -1,5 +1,13 @@ --- Entrypoint for the app. You can edit this file from within the app if --- you're careful. +-- Wrapper that combines the app with a 'source editor' that allows editing +-- the app in place. +-- +-- The source editor is a sharp tool. I find it convenient, but I also often +-- end up in a bad state that requires dropping down to external tools +-- (editor, file manager) to fix. +-- +-- Downstream forks provide a better, "freewheeling" experience for editing +-- apps live. The source editor provides a half-baked experience for editing +-- some of the primitives used by true freewheeling apps. -- files that come with LÖVE; we can't edit those from within the app utf8 = require 'utf8' diff --git a/source.lua b/source.lua index 594ff4a..54d4d1d 100644 --- a/source.lua +++ b/source.lua @@ -1,3 +1,10 @@ +-- Source editor that lets me edit the app from within. However, it's a sharp +-- tool. I find it convenient, but I also often end up in a bad state that +-- requires dropping down to external tools (editor, file manager) to fix. +-- +-- Downstream forks provide a better, "freewheeling" experience for editing +-- apps live. The source editor provides a half-baked experience for editing +-- some of the primitives used by true freewheeling apps. source = {} Editor_state = {} |