15 Commits

Author SHA1 Message Date
Jacob Kim
9f0baeae42 fix: properly calculate diff group 2025-08-05 13:23:17 -07:00
Jacob Kim
b92aa32090 fix: properly handle diff groups to use maxGroupSize instead of maxGap 2025-08-03 13:11:56 -07:00
Jacob Kim
863f187aa4 feat: add a new diff group creator 2025-08-02 22:43:52 -07:00
Jacob Kim
c3240f898d fix: use relative cursor position instead of absolute 2025-07-21 15:03:23 -07:00
Jacob Kim
ae36095a89 chore: remove console.logs 2025-07-18 12:32:39 -07:00
Jacob Kim
2a4ad72aa3 feat: add some helpful diff functions 2025-07-17 21:28:36 -07:00
Jacob Kim
e3b61b9890 refactor: factor out final cursor position calculation 2025-07-15 17:44:03 -07:00
Jacob Kim
ab96f9529b add a discriminate union 2025-07-02 15:37:59 -07:00
Jacob Kim
490ec4813a create a helper function to check if a diff is FIM 2025-07-01 16:57:33 -07:00
Jacob Kim
08a26dabb8 code cleanup 2025-06-26 16:10:08 -07:00
Jacob Kim
03666f3b96 corrrectly calculate offset 2025-06-25 16:57:00 -07:00
Jacob Kim
b690439222 return renderable diff string and the corresponding offset as well 2025-06-24 12:38:07 -07:00
Jacob Kim
08de67f369 add a function to get renderable diffs with +, - gutter annotations 2025-06-20 16:14:35 -07:00
Jacob Kim
69f3a54097 remove unnecessary slice 2025-06-16 14:40:16 -07:00
Jacob Kim
a6982b9e53 add a function to create a renderable diff given DiffLines 2025-06-16 14:39:23 -07:00