about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* default font size and line-heightKartik K. Agaram2022-06-021-4/+10
|
* extract a new variableKartik K. Agaram2022-06-022-94/+63
|
* crisp font renderingKartik K. Agaram2022-06-025-283/+228
|
* find textKartik K. Agaram2022-06-022-9/+119
|
* scroll if necessary on pasteKartik K. Agaram2022-06-021-0/+23
|
* renameKartik K. Agaram2022-06-021-2/+2
|
* .Kartik K. Agaram2022-06-021-1/+1
|
* test harness now supports copy/pasteKartik K. Agaram2022-06-022-3/+78
|
* bugfix: pasting newlinesKartik K. Agaram2022-06-021-12/+21
|
* more efficient undo/redoKartik K. Agaram2022-06-023-61/+73
| | | | | Now the bottleneck shifts to applying undo/redo in large files. But things should be snappy if you don't use the sluggish feature.
* renameKartik K. Agaram2022-06-024-16/+16
|
* this implementation undo load-tests quite poorlyKartik K. Agaram2022-06-021-0/+28
| | | | | | Even a 10KB file gets sluggish within the first 1k characters inserted. We're not running out of memory, we're just overloading Lua's GC.
* bugfix: undo drawing creationKartik K. Agaram2022-06-022-1/+5
| | | | | Also clean up drawing state to make sure we don't get into hard-to-debug situations.
* after much struggle, a brute-force undoKartik K. Agaram2022-06-025-0/+214
| | | | | | | | | Incredibly inefficient, but I don't yet know how to efficiently encode undo mutations that can span multiple lines. There seems to be one bug related to creating new drawings; they're not spawning events and undoing past drawing creation has some weird artifacts. Redo seems to consistently work, though.
* update some App framework docsKartik K. Agaram2022-05-311-5/+5
|
* avoid scrolling down if possibleKartik K. Agaram2022-05-301-1/+28
|
* missing temporary modes in a couple more placesKartik K. Agaram2022-05-301-2/+4
|
* missing shape modes in a couple more placesKartik K. Agaram2022-05-301-1/+1
|
* support non-text lines in Text.to2Kartik K. Agaram2022-05-301-1/+3
| | | | | Originally I was only using it on cursor line, but there's no reason that has to be true in general.
* regression: typing uppercase letters in textKartik K. Agaram2022-05-302-8/+7
|
* more robust transitions to temporary modesKartik K. Agaram2022-05-301-3/+10
| | | | | | I seem to often accidentally press C-n twice to go into name mode. Now doing so overrides the previous temporary mode (name/move/delete point) without clobbering the real shape-drawing mode.
* experiment: give up on changing shape modeKartik K. Agaram2022-05-301-9/+1
| | | | | | | | I often find myself accidentally hovering over some shape or other when switching modes. One additional reason to do this: I never included it in the help. So it hasn't been very high-priority.
* bugfix: function namesKartik K. Agaram2022-05-301-3/+3
|
* ignore 'name' mode in a few placesKartik K. Agaram2022-05-301-0/+4
|
* bugfix: checking if a point is on a manhattan lineKartik K. Agaram2022-05-301-1/+19
|
* ignore 'deleted' shapes when saving to diskKartik K. Agaram2022-05-301-0/+6
|
* ReadmeKartik K. Agaram2022-05-291-4/+9
|
* go through App in a couple more placesKartik K. Agaram2022-05-292-7/+7
|
* .Kartik K. Agaram2022-05-291-6/+0
|
* some helpersKartik K. Agaram2022-05-291-0/+16
| | | | | | | | | | | | I spent some time trying to reduce the duplication between identical operations with and without the shift key pressed. However it makes things harder to understand. If you try to process selection in App.keychord_pressed in main.lua, you have to sometimes process the selection before (e.g. including the state of the cursor _before_ an arrow key takes effect), and sometimes after (e.g. copying the selection before resetting it, even though it doesn't include a shift key) Let's just leave things as they are.
* .Kartik K. Agaram2022-05-291-4/+4
|
* cut/copy selected text to clipboardKartik K. Agaram2022-05-291-0/+45
|
* selecting text and deleting selectionsKartik K. Agaram2022-05-293-4/+310
| | | | | | I've written a few tests for delete_selection, but the way different operations initialize the selection seems fairly standard and not worth testing so far.
* bugfix for non-ASCIIKartik K. Agaram2022-05-291-3/+4
|
* update some documentationKartik K. Agaram2022-05-291-3/+6
|
* extract a couple of methodsKartik K. Agaram2022-05-281-5/+25
|
* bugfix: include shift keys in modifier_downKartik K. Agaram2022-05-281-3/+25
|
* extract a couple more methodsKartik K. Agaram2022-05-281-26/+34
|
* move some codeKartik K. Agaram2022-05-282-28/+28
| | | | | I had this idea originally to keep text.lua oblivious to drawings. But that hasn't been true for some time. Losing battle.
* extract a few methodsKartik K. Agaram2022-05-281-107/+121
|
* moveKartik K. Agaram2022-05-281-36/+38
|
* .Kartik K. Agaram2022-05-281-1/+1
|
* scroll on backspaceKartik K. Agaram2022-05-281-0/+68
|
* .Kartik K. Agaram2022-05-281-4/+4
|
* .Kartik K. Agaram2022-05-281-8/+8
|
* fix a regression in line wrappingKartik K. Agaram2022-05-281-1/+44
|
* scroll on enterKartik K. Agaram2022-05-281-0/+36
|
* .Kartik K. Agaram2022-05-271-1/+1
|
* tweak modifier keys to include 'shift'Kartik K. Agaram2022-05-271-1/+4
|
* paste in text with M-vKartik K. Agaram2022-05-262-0/+13
|
ef='/akspecs/ranger/commit/ranger/gui/widgets/console.py?id=c2f737e0b343667bacd3edf6be37ec94e834fd65'>c2f737e0 ^
656b444d ^
e6dfc442 ^
c2f737e0 ^


f8e3b704 ^
c2f737e0 ^
e6dfc442 ^
656b444d ^

870c30b2 ^
b624bd94 ^



e6dfc442 ^
656b444d ^
277a7026 ^
94024f19 ^
a46c0525 ^
7ec262f8 ^
e6dfc442 ^

7ec262f8 ^

277a7026 ^
e6dfc442 ^


870c30b2 ^
b624bd94 ^



870c30b2 ^
277a7026 ^
a46c0525 ^
22449efd ^
284af717 ^
e6dfc442 ^



ea87d005 ^
e6dfc442 ^


ea87d005 ^
d88232a3 ^
2bd8353d ^




2bd8353d ^



e6dfc442 ^

2bd8353d ^










e6dfc442 ^

7ec262f8 ^

e6dfc442 ^
2bd8353d ^



e6dfc442 ^






16246965 ^
e6dfc442 ^
277a7026 ^
277a7026 ^











ea87d005 ^
277a7026 ^



937a7c49 ^









e6dfc442 ^

7ec262f8 ^
e6dfc442 ^
16246965 ^
e6dfc442 ^

16246965 ^
e6dfc442 ^

16246965 ^








22449efd ^

7ec262f8 ^
22449efd ^






16246965 ^
ea87d005 ^
e6dfc442 ^
7ec262f8 ^
cc952d63 ^

e6dfc442 ^


937a7c49 ^
16246965 ^
e6dfc442 ^
22449efd ^
a46c0525 ^
e6dfc442 ^
7ec262f8 ^

94024f19 ^
16246965 ^


277a7026 ^
34266423 ^
7ec262f8 ^






16246965 ^
7ec262f8 ^











16246965 ^
ea87d005 ^
34266423 ^


















a46c0525 ^
34266423 ^



117028c3 ^



34266423 ^
a46c0525 ^

7ec262f8 ^
7ec262f8 ^

6c867217 ^
16246965 ^
af6658b3 ^
6c867217 ^
af6658b3 ^
6c867217 ^



c2238598 ^
ea87d005 ^
e48e3c5c ^
34266423 ^






c2238598 ^
e48e3c5c ^
94024f19 ^
16246965 ^
656b444d ^











284af717 ^
16246965 ^
6c867217 ^





740e672f ^
6c867217 ^
94024f19 ^
277a7026 ^
284af717 ^

277a7026 ^



284af717 ^
766a5b6a ^
284af717 ^

d309f218 ^
766a5b6a ^
a46c0525 ^
284af717 ^
94024f19 ^
e848e452 ^
fb275079 ^
aed12f88 ^
fb275079 ^

c8c92966 ^


fb275079 ^



aed12f88 ^
fb275079 ^
aed12f88 ^
fb275079 ^

aed12f88 ^
fb275079 ^
aed12f88 ^
fb275079 ^
284af717 ^
94024f19 ^
fb275079 ^

ea87d005 ^
fb275079 ^
fb275079 ^
d392816c ^

fb275079 ^
0cfc59d6 ^
c8c92966 ^
5a528b93 ^
a46c0525 ^
e848e452 ^

316ff5a9 ^
c5450bd1 ^
316ff5a9 ^
c5450bd1 ^








bd0ede8d ^

c5450bd1 ^
316ff5a9 ^


8f2f1767 ^
766a5b6a ^
8f2f1767 ^
e848e452 ^
c8c92966 ^



d906b0dd ^
c8c92966 ^


d906b0dd ^
c8c92966 ^

0cfc59d6 ^
ea87d005 ^
fb275079 ^














d906b0dd ^
c8c92966 ^
fb275079 ^


cc952d63 ^
34266423 ^
d35bac82 ^
aed12f88 ^






















277a7026 ^
94024f19 ^
284af717 ^
94024f19 ^
893dd6b4 ^


284af717 ^
cc952d63 ^
94024f19 ^
22449efd ^
94024f19 ^
cc952d63 ^


a46c0525 ^
cc952d63 ^
94024f19 ^
d35bac82 ^

277a7026 ^

94024f19 ^









65cb1a32 ^
94024f19 ^

cc952d63 ^
94024f19 ^





















































34266423 ^


34266423 ^




94024f19 ^
178dd5ba ^
bd0ede8d ^
94024f19 ^

94024f19 ^



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
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626