summaryrefslogtreecommitdiff
path: root/txt.c
AgeCommit message (Collapse)Author
7 daysTxtHistNode distinct from TxtPieceTbl, with TxtLoc cur memberWormHeamer
8 dayshopefully squash the history corruption bug once and for allWormHeamer
8 daysfree all the way up to TXT_HIST_MAXWormHeamer
8 daysfree history in txt_free()WormHeamer
8 daysfix Txt not being zeroed properlyWormHeamer
9 dayscheck for non-null chunk in txt_range_equal()WormHeamer
9 days_might_ have fixed a bug in txt_hist_push()?WormHeamer
9 daysmove some char/byte next/prev stuff into txt.h, as inlineWormHeamer
9 daysconvert non-utf-8 files to a readonly hex dumpWormHeamer
9 daysset and unset dirty flag as appropriate on undo/redoWormHeamer
9 daysundo/redoWormHeamer
9 daysremove some trailing spacesWormHeamer
11 daysadd (hacky and slow) reverse regex searchWormHeamer
11 daysallow opening multiple files at once + replace modesWormHeamer
12 daysdocumentation comment for txt_split_piece()WormHeamer
12 daysfix some logic errors in line navigationWormHeamer
12 dayssimplify and clarify txt_split_piece(), txt_insert(), txt_delete()WormHeamer
13 daysadd txt_range_equal()WormHeamer
13 daysadd txt_collect_range() and txt_read_chunk()WormHeamer
13 dayssome stuffWormHeamer
13 daystry and prevent 0-length splits occurringWormHeamer
13 daysvarious assertsWormHeamer
13 daysdeduplicate reinserted buffer text somewhatWormHeamer
13 daysfix txt_join_or_kill(), txt_delete_c()WormHeamer
13 daysremove most explicit Txt* params, fix some utf-8 problemsWormHeamer
13 daysadd Txt pointer to TxtLocWormHeamer
13 daysfix txt_byte() not returning 0 at end of bufferWormHeamer
it was checking against the length of the buffer, not the piece, so wouldn't work properly after a deletion
13 daysdon't throw error on opening nonexistent file, "wb" for txt_saveWormHeamer
13 daysdon't do thatWormHeamer
13 daysuse O_CREAT in txt_load()WormHeamer
14 daysferror in the right placeWormHeamer
14 dayslots of features & bugfixes bothWormHeamer
2025-12-28put more emphasis on TxtLocWormHeamer
2025-12-28txt_save()WormHeamer
2025-12-28some bugfixesWormHeamer
2025-12-27basic piece table implementationWormHeamer