AmendHub

jcs

/

textview

/

amendments

/

tv_draw.c

Amendments on November 17, 2026

tv_draw: Abstract scroll guts to TVScrollParts so users can call it

This would be useful for handling Page Down the same way as clicking
inPageDown, by now calling TVScrollPart(tv, inPageDown, false).
jcs made amendment 95 8 days ago

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 2, 2026

TVTrackScrollControl: Check for command down properly

jcs made amendment 86 23 days ago

Amendments on October 15, 2026

*: Minor cleanups

jcs made amendment 84 about 1 month ago

TVUpdateScrollbar+TVScroll: Cache TVScrollDivisor result

jcs made amendment 83 about 1 month ago

Amendments on October 14, 2026

TVTrackScrollControl: Use TVLineForY

jcs made amendment 78 about 1 month ago

TVDrawMatch: Properly account for tv->scrolled.left

jcs made amendment 73 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