about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-09-10 21:45:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-09-10 21:45:59 -0700
commit706296388809984b20b32edf3fa8f576c85508c5 (patch)
tree1f0038c4b646dd4c051e3b721024ea792d5e4783
parent790b7f18dbfb6c7dfcc72a872bc62e6075af6ae8 (diff)
downloadlines.love-706296388809984b20b32edf3fa8f576c85508c5.tar.gz
Revert "deemphasize the source editor"
Now that we have decent error handling, I think we can encourage people
to press ctrl+e again.

This reverts commit 4b43e9e85d985bcedd105fa9693ae751e5b6d0b6.
-rw-r--r--README.md1
-rw-r--r--main.lua12
-rw-r--r--source.lua7
3 files changed, 3 insertions, 17 deletions
diff --git a/README.md b/README.md
index 0833aa6..291aed9 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ 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
 
 For shortcuts while editing drawings, consult the online help. Either:
 * hover on a drawing and hit `ctrl+h`, or
diff --git a/main.lua b/main.lua
index c3b5a26..39c44a2 100644
--- a/main.lua
+++ b/main.lua
@@ -1,13 +1,5 @@
--- 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.
+-- Entrypoint for the app. You can edit this file from within the app if
+-- you're careful.
 
 -- 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 b4e1078..d9e44b6 100644
--- a/source.lua
+++ b/source.lua
@@ -1,10 +1,3 @@
--- 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 = {}