Kartik K. Agaram
40a6bc88be
Merge text.love
2023-07-07 18:57:22 -07:00
Kartik K. Agaram
a995471ebc
Merge lines.love
2023-07-07 18:50:42 -07:00
Kartik K. Agaram
9df1c3f997
support for num pad
...
It'll only work after LÖVE v12 comes out.
2023-07-07 18:40:12 -07:00
Kartik K. Agaram
2f0f437060
link to Freewheeling Apps page
2023-07-01 13:22:05 -07:00
Kartik K. Agaram
bc41286466
Merge text0
2023-06-30 00:09:03 -07:00
Kartik K. Agaram
ca1656fbfd
Merge text.love
2023-06-29 23:46:03 -07:00
Kartik K. Agaram
ad35894b92
Merge lines.love
2023-06-25 22:39:43 -07:00
Kartik K. Agaram
33934337ab
experiment: convert to Pijul
...
https://pijul.org
2023-06-25 06:12:36 -07:00
Kartik K. Agaram
3fdd0d339c
slightly easier to understand
...
A comment is now in a better place.
Inlining an unnecessary function boundary removes ambiguity between the
similar names load_all and load_files_so_far. It also shrinks call
stacks on error.
2023-06-19 10:14:42 -07:00
Kartik K. Agaram
d486f94a4b
bail early on errors
...
Returning errors can feel warm and fuzzy, but it does no good if the
caller doesn't actually check the return value.
Scenario:
define a new function B
call it when initializing global variable A
everything works fine
restart
Before this commit you get a weird error because we silently stopped
loading, and now lots of functions are missing.
After this commit you get a better error message.
2023-06-19 09:56:24 -07:00
Kartik K. Agaram
2f933e383d
delete a dead variable
2023-06-19 09:46:25 -07:00
Kartik K. Agaram
7b5ede43e2
slightly standardize on app-specific stuff
2023-06-18 22:44:27 -07:00
Kartik K. Agaram
66baa11748
Merge text0
2023-06-17 10:54:11 -07:00
Kartik K. Agaram
8f5227a58a
Merge text.love
2023-06-17 10:53:42 -07:00
Kartik K. Agaram
f7382363c2
Merge lines.love
2023-06-17 10:47:43 -07:00
Kartik K. Agaram
9ce9725bd6
stop highlighting strings in code
...
It works right so rarely that it's a net negative. I'll bring it back
if I ever start tokenizing on non-whitespace.
2023-06-17 10:41:50 -07:00
Kartik K. Agaram
e70e67859d
Merge text0
2023-06-08 01:29:14 -07:00
Kartik K. Agaram
fa4f9fb814
Merge text.love
2023-06-08 01:26:51 -07:00
Kartik K. Agaram
de699696c5
Merge lines.love
2023-06-08 01:24:34 -07:00
Kartik K. Agaram
1aceabc846
reconcile manual tests with some downstream forks
2023-06-08 01:21:33 -07:00
Kartik K. Agaram
7824213048
Merge text.love
2023-06-08 01:18:34 -07:00
Kartik K. Agaram
fdb2172843
Merge lines.love
2023-06-08 01:12:38 -07:00
Kartik K. Agaram
14c08f9bd9
several bugfixes in saving/loading cursor position
2023-06-08 01:02:54 -07:00
Kartik K. Agaram
60f26a9a4f
experiment: knob for readonly editor
2023-06-07 22:23:10 -07:00
Kartik K. Agaram
69ddc6fbb8
improve documentation for edit.draw
2023-06-07 22:10:30 -07:00
Kartik K. Agaram
d931b0123d
Merge text0
2023-06-07 22:09:10 -07:00
Kartik K. Agaram
7a7d76548c
Merge text.love
2023-06-07 22:08:46 -07:00
Kartik K. Agaram
e8a5faaa4c
Merge lines.love
2023-06-07 21:47:04 -07:00
Kartik K. Agaram
68eaba7d3d
document some editor constants
2023-06-07 21:30:17 -07:00
Kartik K. Agaram
bc85d77f13
Merge text0
2023-06-06 13:27:17 -07:00
Kartik K. Agaram
b9b511f37c
Merge text.love
2023-06-06 13:23:13 -07:00
Kartik K. Agaram
77164c61c8
Merge lines.love
2023-06-06 13:17:57 -07:00
Kartik K. Agaram
96c056bd4c
return height of editor widget after drawing
2023-06-06 12:52:44 -07:00
Kartik K. Agaram
767e048c54
Merge text.love
2023-06-06 11:41:48 -07:00
Kartik K. Agaram
cf1f860d20
Merge lines.love
2023-06-06 11:39:50 -07:00
Kartik K. Agaram
43114e2fa5
document facilities for buttons on screen
2023-06-06 11:18:20 -07:00
Kartik K. Agaram
d5f0abb637
Merge text0
2023-06-05 22:41:32 -07:00
Kartik K. Agaram
431f1dfec9
Merge text.love
2023-06-05 22:40:16 -07:00
Kartik K. Agaram
64c4015167
Merge lines.love
2023-06-05 22:37:26 -07:00
Kartik K. Agaram
f1981e85db
document a couple of miscellaneous helpers
2023-06-05 22:23:25 -07:00
Kartik K. Agaram
fc094496c1
document a few more keyboard primitives
2023-06-05 22:22:53 -07:00
Kartik K. Agaram
9e17337217
rename modifier_down to key_down
...
The old name was confusing, as its description showed.
2023-06-05 22:21:04 -07:00
Kartik K. Agaram
7e160e0de5
maintain the initial font size in a global
...
Apps should keep the global updated when changing the font size.
2023-06-05 22:18:44 -07:00
Kartik K. Agaram
44e3cdcdb7
Merge text0
2023-06-04 15:34:49 -07:00
Kartik K. Agaram
484602bd9e
Merge text.love
2023-06-04 15:25:46 -07:00
Kartik K. Agaram
bf2c2555d6
Merge lines.love
2023-06-04 15:11:24 -07:00
Kartik K. Agaram
637e28f300
port inscript's bugfix to source editor
2023-06-04 12:33:23 -07:00
Kartik K. Agaram
9656e13774
bugfix: inscript's bug
...
To fix this I have to first stop incrementally updating screen_bottom1
in the middle of a frame. Now it always has a good value from the end of
a frame.
I'm also running into some limitations in the test I'd ideally like to
write (that are documented in a comment), but I still get some sort of
automated test for this bugfix.
2023-06-04 12:20:24 -07:00
Kartik K. Agaram
cf0ba7c154
handle wrapping lines
2023-06-03 10:44:11 -07:00
Kartik K. Agaram
3114176ebd
change how we handle clicks above top margin
2023-06-03 10:36:05 -07:00