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

Fix #99, cursor position for last line displays below last line #139

Merged
merged 2 commits into from
Jul 21, 2021

Conversation

BAndysc
Copy link
Contributor

@BAndysc BAndysc commented Jun 15, 2021

This fixes bug when caret position was sometimes displayed in wrong place, while document lines where slightly off position.

This change matches with original AvalonEdit: https://github.com/icsharpcode/AvalonEdit/blob/master/ICSharpCode.AvalonEdit/Rendering/TextView.cs#L1186

@dnfadmin
Copy link

dnfadmin commented Jun 15, 2021

CLA assistant check
All CLA requirements met.

@danwalmsley danwalmsley merged commit a3e12d9 into AvaloniaUI:master Jul 21, 2021
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.

3 participants