Skip to content

Fix scrollbar jump#918

Merged
Jugen merged 3 commits intoFXMisc:masterfrom
Jugen:fix_scrollbar_jump
Mar 23, 2020
Merged

Fix scrollbar jump#918
Jugen merged 3 commits intoFXMisc:masterfrom
Jugen:fix_scrollbar_jump

Conversation

@Jugen
Copy link
Copy Markdown
Collaborator

@Jugen Jugen commented Mar 22, 2020

Fixes #913 which was introduced through PR #795

This PR reverts the 795 change and implements a more robust and direct method for determining the visible paragraph index or the 'global' paragraph index, instead of using comparison loops. (Resolves #777)

795 also addressed #788 for which this PR adds a test and simply catches the exception for this corner case.

@Jugen Jugen merged commit aaee089 into FXMisc:master Mar 23, 2020
@Jugen Jugen deleted the fix_scrollbar_jump branch March 23, 2020 09:55
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.

replaceText on CodeArea makes scrollbar jump to line 2 Random crashes in GenericStyleArea.visibleParToAllParIndex

1 participant