Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Node's position attributes public #55

Open
alexberdnik opened this issue Nov 4, 2022 · 1 comment
Open

Make Node's position attributes public #55

alexberdnik opened this issue Nov 4, 2022 · 1 comment

Comments

@alexberdnik
Copy link

Currently there is no simple way to get Node position in the original text. There is a borders property, but it is private and can't be accessed without reflection.
It would be great to add methods for offset from and offset to of the node.

@spyzhov
Copy link
Owner

spyzhov commented Nov 6, 2022

Hello, yes, it can be shared, but only for "not dirty" nodes which were not updated.

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

No branches or pull requests

2 participants