about summary refs log tree commit diff stats
path: root/commands.lua
Commit message (Collapse)AuthorAgeFilesLines
* get rid of to_textKartik K. Agaram2023-04-011-17/+12
| | | | | | | | | | | | | I've been misunderstanding what Text objects are. They can render a lot of text with a given line height, word wrap, colors in various places. And I've been creating one for every word :facepalm: Unwinding this will take some time. This is just a first baby step for ad hoc text objects. Turns out I don't need to convert to Text to get something's rendered width, just the Font can do that. Thanks to the LÖVE Discord for educating me: https://discord.com/channels/329400828920070144/330089431379869708/1091535487333826580
* make love event names consistentKartik K. Agaram2022-12-231-2/+2
| | | | | I want the words to be easy to read, and to use a consistent tense. update and focus seem more timeless; let's make everything like those.
* source editor: clear logsKartik K. Agaram2022-12-051-0/+1
|
* show partial items in the menuKartik K. Agaram2022-11-061-1/+1
| | | | | Seeing a partial item can nudge someone to try resizing the window and so learn about more shortcuts.
* source: show files in MRU orderKartik K. Agaram2022-09-191-4/+8
| | | | | I'm not going to save this MRU order across sessions for now. It's good enough to save cursor positions for individual files, I think.
* extract a couple of functionsKartik K. Agaram2022-09-191-13/+16
|
* filter candidates in file navigatorKartik K. Agaram2022-09-181-0/+42
|
* support mouse clicks in file navigatorKartik K. Agaram2022-09-181-2/+9
|
* start showing source menu file navigation state graphicallyKartik K. Agaram2022-09-181-5/+53
| | | | | | | | | | | | | | | | | | | | | | I'm a bit leery of going down this road: - If there's a bug in how I render logs graphically that could be extremely misleading. Perhaps this suggests that the code to log things should be significantly simpler than the code that might be debugged. If writing the debug helper requires all my smarts I'm not smart enough to debug using the helper, etc. Given this idea, the fact that I'm copying production code into the logging helper is concerning. - There's a question of what code it's ok for logging helpers to depend on. This is an issue shared with tests. I often implicitly (and without meaning to) assume the presence of some well-tested helpers when writing tests. If those helpers ever break I can get into a rabbit hole of debugging. This problem might be even more insidious with logging helpers that will give me no indication when they break. Still and all, it's cool to see menus in my logs. Let's see if it's useful.
* source: up/down in file navigatorKartik K. Agaram2022-09-181-0/+68
| | | | I'm starting to use logging, but it's still easier to print textual logs.
* indentKartik K. Agaram2022-09-181-7/+7
|
* source: show all files in navigatorKartik K. Agaram2022-09-171-5/+31
| | | | | We still don't have up/down arrow keys. And we still don't have the ability to filter filenames by typing.
* renameKartik K. Agaram2022-09-171-3/+3
|
* delete some logsKartik K. Agaram2022-09-171-3/+0
| | | | | | | One open question is how to manage logs while drawing, since they can be extremely verbose. Neither tags nor depths seem like the right metaphor here, and that gives me pause that I perhaps don't see the full space of needs yet.
* bugfix: never skip files in file navigatorKartik K. Agaram2022-09-171-4/+3
|
* use existing localKartik K. Agaram2022-09-171-1/+1
|
* use a helperKartik K. Agaram2022-09-171-11/+7
|
* some debug printsKartik K. Agaram2022-09-171-0/+4
| | | | | | I'm starting to edit the sources from within the app in ernest. First question: why does the file navigation menu skip some files? These prints answer the question.
* switch shortcuts for bifold textKartik K. Agaram2022-09-061-3/+3
| | | | | | I've been running out of ctrl+ shortcuts, and I just remembered my original idea to keep ctrl+ for drawings/mouse operations and alt+ for everything else.
* support drawings in the source editorKartik K. Agaram2022-09-051-1/+1
|
* editing source code from within the appKartik K. Agaram2022-09-031-0/+100
integrated from pong.love via text.love: https://merveilles.town/@akkartik/108933336531898243
title='author Kartik K. Agaram <vc@akkartik.com> 2017-10-17 23:55:25 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2017-10-17 23:55:25 -0700 4078' href='/akkartik/mu/commit/html/subx/012indirect_addressing.cc.html?h=main&id=f959569491246197f7a9bc0fd633ef40687cbe21'>f9595694 ^
0cb3c774 ^










f9595694 ^
0cb3c774 ^




f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^










f9595694 ^
0cb3c774 ^










f9595694 ^
0cb3c774 ^




f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^










f9595694 ^
0cb3c774 ^










f9595694 ^
0cb3c774 ^




f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^

ba2ec725 ^
0cb3c774 ^







f9595694 ^
0cb3c774 ^

ba2ec725 ^
0cb3c774 ^







f9595694 ^
0cb3c774 ^




f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^
f9595694 ^
0cb3c774 ^













c67ca4b9 ^
125bea47 ^
c67ca4b9 ^






f9595694 ^
c67ca4b9 ^








f9595694 ^
c67ca4b9 ^








f9595694 ^
c67ca4b9 ^










f9595694 ^
c67ca4b9 ^



311297cb ^
f9595694 ^
c67ca4b9 ^
f9595694 ^
15cd825d ^
c67ca4b9 ^


3dedbe9c ^
c67ca4b9 ^
f9595694 ^

c67ca4b9 ^








f9595694 ^
c67ca4b9 ^








f9595694 ^
c67ca4b9 ^

125bea47 ^







f9595694 ^
125bea47 ^









f9595694 ^
125bea47 ^




f9595694 ^
125bea47 ^
f9595694 ^
125bea47 ^
15cd825d ^
f9595694 ^
125bea47 ^

95e5511a ^

















292ccba1 ^
f9595694 ^
95e5511a ^

292ccba1 ^
9e45873f ^


















8a026831 ^
9e45873f ^
8a026831 ^

9e45873f ^

292ccba1 ^
9e45873f ^

8a026831 ^






























25ad969f ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458