jcs
/textview
/amendments
/textview.c
Amendments on November 5, 2026
TVDispose: Don't use TVClear, it redraws
We are likely in a window teardown where we shouldn't be drawing.
Also TVClear was leaving the first of each slab allocated.
Amendments on November 3, 2026
jcs made amendment
90
22 days ago
TVAppendLocked: Remember the first line touched
When we're running with autocalc off, this will speed up redrawing
when it's turned back on.
Amendments on November 2, 2026
jcs made amendment
85
23 days ago
Amendments on October 15, 2026
jcs made amendment
83
about 1 month ago
jcs made amendment
82
about 1 month ago
Amendments on October 14, 2026
TVGetTextSlab: Cache last used slab, it's probably the same
Avoids walking the slab list every time. Also in TVApplyStyle, check
that we actually need to call Text{Font,Face,Size}.
jcs made amendment
74
about 1 month ago
jcs made amendment
71
about 1 month ago
jcs made amendment
69
about 1 month ago
jcs made amendment
67
about 1 month ago
Amendments on September 23, 2026
*: Split up into logical files for storage, layout, and drawing
This file is getting huge and hard to manage. We can always cat
everything together later for a single distributable file.
jcs made amendment
64
2 months ago
Amendments on December 20, 2024
jcs made amendment
62
about 1 year ago
TVCalcLinesLocked: When a style starts on a new line, don't inherit
A big size line with a newline, followed by a line of text with a
small size font shouldn't be as tall as the big size.
Amendments on December 18, 2024
jcs made amendment
60
about 1 year ago
Amendments on December 15, 2024
jcs made amendment
59
about 1 year ago
jcs made amendment
58
about 1 year ago
Amendments on December 13, 2024
*: Add support for right and center alignment
Also avoid some errant setting of grew which were causing more
EraseRect doings than necessary.
Amendments on November 21, 2024
jcs made amendment
56
over 2 years ago