-
Notifications
You must be signed in to change notification settings - Fork 114
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
Move selection to another page #1085
Open
QubaB
wants to merge
11
commits into
saber-notes:main
Choose a base branch
from
QubaB:MoveSelectionToAnotherPage
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1085 +/- ##
==========================================
- Coverage 37.42% 37.07% -0.36%
==========================================
Files 110 110
Lines 8599 8675 +76
==========================================
- Hits 3218 3216 -2
- Misses 5381 5459 +78 ☔ View full report in Codecov by Sentry. |
Undo/redo is not handled correctly because old items are deleted and new created.
In Select added pageIndexStart holding original page of selection. In EditorHistory added pageIndexStart - important only for move Solving issue saber-notes#932
adil192
force-pushed
the
MoveSelectionToAnotherPage
branch
from
February 27, 2024 11:03
b5c1609
to
d5b7142
Compare
…selection movement is stored to history. This fixes problem when selection is moved across pages, and then moved on page (in this case pageIndexStart was set according to the first movement of selection)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implemented moving selection across pages. Undo/redo works.
In Select added pageIndexStart holding original page of selection.
In EditorHistory added pageIndexStart - important only for move
In Editor is mainly change onDrawUpdate which should handle moving items to another page.
Closes #932