AmendHub

jcs

/

textview

/

amendments

/

tv_layout.c

Amendments on November 11, 2026

TVOffsetFor*: Add caret flag, add TVScrollToOffset

Finding the offset for a click depends on whether the caller wants
to find text displayed at it or whether they are selecting text which
can start outside of that text.
jcs made amendment 94 14 days ago

Amendments on November 3, 2026

TVAppendLocked: Remember the first line touched

When we're running with autocalc off, this will speed up redrawing
when it's turned back on.
jcs made amendment 89 22 days ago

Amendments on November 2, 2026

TVResize: Don't scroll past the end after resize

jcs made amendment 88 23 days ago

TVCalcLinesLocked: Add parens in indent calculation

jcs made amendment 87 23 days ago

Amendments on October 15, 2026

*: Minor cleanups

jcs made amendment 84 about 1 month ago

Amendments on October 14, 2026

TVCalcLinesLocked: Simplify walking through text_slab_data

jcs made amendment 81 about 1 month ago

TVResize+TVFindInRectLocked: Avoid manual searches

jcs made amendment 80 about 1 month ago

TVCalcLinesLocked: Optimize wrapping

jcs made amendment 77 about 1 month ago

*: Add text selection helpers

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 65 2 months ago