Skip to content

fix: Incorrect column numbers.#53

Open
Arkissa wants to merge 1 commit intoawgn:masterfrom
Arkissa:fix/incorrect-col
Open

fix: Incorrect column numbers.#53
Arkissa wants to merge 1 commit intoawgn:masterfrom
Arkissa:fix/incorrect-col

Conversation

@Arkissa
Copy link
Contributor

@Arkissa Arkissa commented Feb 13, 2026

Problem

Incorrect column numbers, result of column always be end column.
relate: #52

Solution

Use textOffsetWord8 in the calculation to obtain the column numbers.

test

$ cabal run cgrep -- -r main ./test
befor
image
after
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments