Skip to content

Conversation

@tbttfox
Copy link

@tbttfox tbttfox commented Nov 16, 2025

This just updates the docs on the Point object to say the column property is measured in bytes.

When I saw column it made me think of something visually aligned. And in my head characters are what's visually aligned, not bytes.

It took too long for me to realize that gut instinct was wrong. I feel like if I made that mistake, somebody else will too so it's worth a couple words of clarification.

Here I found someone confirming it's in bytes.
tree-sitter/tree-sitter#397 (comment)

Updated the documentation for Point.column to clarify that the column is measured in bytes.
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