summaryrefslogtreecommitdiff
path: root/line.c
Commit message (Expand)AuthorAgeFilesLines
* fix: double-free of line object in eb_backspace and eb_delete_linedilluti0n2025-05-141-1/+1
* refactor: replace #ifdef DEBUG printf to log_printfdilluti0n2025-05-141-6/+4
* refactor: introduce mem.h; wrappers for allocatorsdilluti0n2025-05-101-6/+6
* fix: Memory Leak in eb_delete_linedilluti0n2025-05-101-7/+7
* refactor: deprecate line->cursor; simplify vertical cursor movementdilluti0n2025-05-021-14/+2
* fix: line_split allocating newline but not initializing correctlydilluti0n2025-04-291-0/+4
* fix: SEGSEGV on line_get_last; NULL check for li should be first.dilluti0n2025-04-291-1/+3
* feat: add slice-based accessors for line and editor bufferdilluti0n2025-04-291-0/+14
* fix: `line_free` to handle lazy-loaded line appropriately.dilluti0n2025-04-291-5/+9
* refactor: introduce lazy loading to each line buffer.dilluti0n2025-04-291-15/+35
* implement: produce_vec_from_buf to use it lazy loading.dilluti0n2025-04-291-6/+13
* remove: line->last to reduce ambiguity.dilluti0n2025-04-291-23/+24
* perf: reduce to a single allocation in line_init_from_bufdilluti0n2025-04-291-4/+19
* perf: make line from buf directly instead of append each charactersdilluti0n2025-04-291-0/+13
* fix: asser fail in eb_backspace, eb_newline due to invalid accessdilluti0n2025-04-281-1/+1
* add: DEBUG variable on makefiledilluti0n2025-04-281-0/+1
* refactor: introduce helper function ensure_line for eb_insertdilluti0n2025-04-271-0/+3
* fix: eb_backspace possable memory leakdilluti0n2025-04-271-1/+7
* implement: eb_set_cur_back and eb_set_cur_prevdilluti0n2025-04-271-0/+4
* fix: line_split update newline->last properlydilluti0n2025-04-271-2/+2
* modify: eb_newline to actually increase the vec when newlinedilluti0n2025-04-271-0/+4
* fix: line_cat handle src->last correctlydilluti0n2025-04-271-1/+1
* add: ASSERT on line_catdilluti0n2025-04-271-2/+4
* implement: line_catdilluti0n2025-04-271-1/+12
* fix: line_append were not updating li->last!!!!!!dilluti0n2025-04-271-0/+1
* implement: eb_backspace; line_cat still TODOdilluti0n2025-04-271-0/+4
* refactor: move debugs to config.h and handle build gracefullydilluti0n2025-04-271-0/+1
* implement: eb_newlinedilluti0n2025-04-271-1/+30
* implement: line_deletedilluti0n2025-04-271-1/+4
* change: vector.h now alloc/free its own handledilluti0n2025-04-241-2/+1
* implement: eb_backspacedilluti0n2025-04-241-0/+4
* fix: vector memory allocation and insert logic; cleanup eb handlingdilluti0n2025-04-211-1/+5
* refactor: line handling and implement basic editor buffer abstractiondilluti0n2025-04-211-11/+15
* tabify, gitignoredilluti0n2025-04-181-9/+9
* Introduce vector template and migrate line moduledilluti0n2025-04-181-11/+11
* refactor: Extract line handling logic into separate line moduledilluti0n2025-04-181-0/+39