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 Doc:sanitize_position return a more appropriate col #1469

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

Guldoman
Copy link
Member

If line is out of range, return the col "closest" to the original values.

This should be tested to check if it impacts unexpected things.

Needed for #761.

If `line` is out of range, return the `col` "closest" to the original
values.
@adamharrison
Copy link
Member

Looks good, makes more sense. Merging.

@adamharrison adamharrison merged commit 595196f into lite-xl:master Jun 9, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
…#1469)

If `line` is out of range, return the `col` "closest" to the original
values.
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
…#1469)

If `line` is out of range, return the `col` "closest" to the original
values.
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
…#1469)

If `line` is out of range, return the `col` "closest" to the original
values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants