
https://user-images.githubusercontent.com/1342652/224879030-fc06971f-4dcb-442c-a8a1-1348bf4dac9e.png
since the source contains a line "--------------------------------------" in comment as a segment line, the isSourceLine function just ignore it, i wonder if the condition should be changed as below
if l := len(line); l == 0 || (l >= 3 && (line[:4] == "--- " || line[:4] == "+++ ")) {