deemphasize the source editor

This repo does not support freewheeling modification. It's a primitive
to enable freewheeling modification in downstream forks.

The source editor is a convenience, but it's a sharp tool and can easily
leave the app in a broken state that requires dropping down to external
tools (editor, file manager) to fix.
This commit is contained in:
Kartik K. Agaram 2023-04-09 11:00:35 -07:00
parent 25e7eb99a9
commit 4b43e9e85d
3 changed files with 17 additions and 3 deletions

View File

@ -34,7 +34,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
For shortcuts while editing drawings, consult the online help. Either:
* hover on a drawing and hit `ctrl+h`, or

View File

@ -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'

View File

@ -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 = {}