Commit Graph

930 Commits

Author SHA1 Message Date
Kartik K. Agaram cab67df0a6 Merge template-live-editor 2023-01-01 18:31:19 -08:00
Kartik K. Agaram 9a0b1871d6 create space for app-specific settings 2023-01-01 18:30:12 -08:00
Kartik K. Agaram 998e40894f persist window geometry to disk across restart 2023-01-01 18:19:08 -08:00
Kartik K. Agaram b77b8a7b89 Merge text0 2023-01-01 18:10:43 -08:00
Kartik K. Agaram 27805f178f Merge text.love 2023-01-01 18:09:05 -08:00
Kartik K. Agaram f611eabad8 Merge lines.love 2023-01-01 18:05:29 -08:00
Kartik K. Agaram c7de47440b typo 2023-01-01 17:59:10 -08:00
Kartik K. Agaram ede18a8d8b less subtle out-of-focus background color 2023-01-01 17:52:57 -08:00
Kartik K. Agaram 0813c30e72 move 2023-01-01 17:52:06 -08:00
Kartik K. Agaram b3fb9fb097 insert space for loading settings 2023-01-01 17:51:35 -08:00
Kartik K. Agaram 4c73be087c rename 2023-01-01 17:50:41 -08:00
Kartik K. Agaram cb7a515d72 inline a function 2023-01-01 17:50:16 -08:00
Kartik K. Agaram dabf460edf Merge template-live-editor 2023-01-01 09:42:18 -08:00
Kartik K. Agaram 33af1db102 Merge text0 2023-01-01 09:41:48 -08:00
Kartik K. Agaram 3752cf28dd Merge text.love 2023-01-01 09:38:14 -08:00
Kartik K. Agaram fc86ecb69e Merge lines.love 2023-01-01 09:34:15 -08:00
Kartik K. Agaram d6f955f144 fix stale comment 2023-01-01 09:14:08 -08:00
Kartik K. Agaram 5a86d570fb clean up some debug prints 2022-12-26 00:30:26 -08:00
Kartik K. Agaram dbc9cc9166 Merge template-live-editor 2022-12-26 00:29:00 -08:00
Kartik K. Agaram 87e7231fa4 backport some doc updates and renames 2022-12-26 00:27:24 -08:00
Kartik K. Agaram d4d2144c7d Merge template-live-editor 2022-12-25 15:52:57 -08:00
Kartik K. Agaram 8add8ee51d rename globals to have a single uppercase letter 2022-12-25 15:51:39 -08:00
Kartik K. Agaram 8c83ce2e25 bug in Readme 2022-12-24 21:24:46 -08:00
Kartik K. Agaram c8a422f69e Merge template-live-editor 2022-12-24 19:30:55 -08:00
Kartik K. Agaram e0517b7149 Merge text0 2022-12-24 19:30:32 -08:00
Kartik K. Agaram 543c88bc49 Merge text.love 2022-12-24 19:29:29 -08:00
Kartik K. Agaram 4d561e2294 Merge lines.love 2022-12-24 19:26:55 -08:00
Kartik K. Agaram a9aa3436fa bugfix
Scenario: make some edits, select some text, make some more edits. Press
ctrl-z.

Before this commit, undo would stop at the point of selection and
previous edits would become unreachable.

After this commit, both ctrl-z and ctrl-y seem able to span the point of
selection.
2022-12-24 19:24:48 -08:00
Kartik K. Agaram 53fbb905e3 typo 2022-12-24 19:24:48 -08:00
Kartik K. Agaram 9b02c93192 seasonal demo 2022-12-24 10:18:05 -08:00
Kartik K. Agaram 6a86c2b728 document new shortcuts 2022-12-24 09:09:15 -08:00
Kartik K. Agaram 1d9fe66a2d hopefully final reset of luaML repo 2022-12-24 09:04:54 -08:00
Kartik K. Agaram 93a822d8b0 pan surface when not editing a node 2022-12-24 09:04:31 -08:00
Kartik K. Agaram 5aca359229 redo event renames 2022-12-24 08:50:49 -08:00
Kartik K. Agaram 9722b11470 update box on text_input as well
Also update node height as we add or delete lines.
2022-12-24 08:28:05 -08:00
Kartik K. Agaram 2c26ac9cc2 scrolling editor pans surface!
I'm starting to understand this mechanism. I keep polishing
pensieve.love in parallel with these changes.
2022-12-24 08:01:24 -08:00
Kartik K. Agaram 45695ac723 update editor screen_top when panning with mouse 2022-12-23 22:37:24 -08:00
Kartik K. Agaram 098dcf3389 more missed renames 2022-12-23 22:35:21 -08:00
Kartik K. Agaram 875909210b get rid of clip/clip_all
We'll do that work now in B.
2022-12-23 22:01:12 -08:00
Kartik K. Agaram ddf309bdae clean up some debug prints 2022-12-23 21:52:28 -08:00
Kartik K. Agaram 62a95afd52 avoid wasteful editor recreation 2022-12-23 21:46:40 -08:00
Kartik K. Agaram dd9f4b428f ripple widths down the hierarchy sometimes
compute_layout now has the following responsibilities:
  * render backgrounds as separate rectangles
  * compute x/y/w/h of each text node based on type (rows/cols) and width
  * compute width of some nodes based on widths higher up the tree
2022-12-23 21:35:57 -08:00
Kartik K. Agaram 9f3d0735b1 Merge template-live-editor 2022-12-23 20:56:00 -08:00
Kartik K. Agaram ea6db20022 Merge text0 2022-12-23 20:54:40 -08:00
Kartik K. Agaram 52dc80faa5 Merge text.love 2022-12-23 20:50:46 -08:00
Kartik K. Agaram e9a517161b Merge lines.love 2022-12-23 20:46:31 -08:00
Kartik K. Agaram f351ee2f8f fix some arg names 2022-12-23 20:43:37 -08:00
Kartik K. Agaram 7ef551b821 another missed rename 2022-12-23 20:43:30 -08:00
Kartik K. Agaram 8b9dab0c36 overzealous search-and-replace 2022-12-23 20:42:12 -08:00
Kartik K. Agaram 54b647f7c1 Merge template-live-editor 2022-12-23 20:39:54 -08:00