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

docview: prevent overscroll when DocView size is less than lh * 2 #1971

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

takase1121
Copy link
Member

Fixes #1970.

This also fixes lite-xl-widgets when used with unbounded scroll.

Screencast_20241201_212608.webm

@takase1121
Copy link
Member Author

takase1121 commented Dec 1, 2024

works with linewrapping

Screencast_20241201_213511.webm

data/core/docview.lua Outdated Show resolved Hide resolved
@takase1121 takase1121 force-pushed the docview/caret-overscroll branch from 402cd4d to f357f44 Compare December 2, 2024 00:34
@takase1121 takase1121 requested a review from Guldoman December 2, 2024 07:19
@Guldoman Guldoman merged commit 36db156 into lite-xl:master Dec 2, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Cherry Picked
Development

Successfully merging this pull request may close these issues.

scrolling when moving the caret up/down is broken when DocView is too small
2 participants