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

Add range selection for pages #1065

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kbengs
Copy link
Member

@kbengs kbengs commented Feb 27, 2024

#862 in one commit

- Added menu item to select
menu and select context menus.
- Added range_select_dialog method
to pdfarranger.py for completing the range selection.

- Handles ranges with '-' or comma separated list
of values
- Handles min/max cases. (-3 ==> 0 to 3,
or 4- ==> 4 to end)
- Dialog has real time check of user input to
limited set of characters ('0123456789,- ') using
on_change signal.
- Labels/titles are translatable.
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 8.69565% with 63 lines in your changes are missing coverage. Please review.

Project coverage is 78.69%. Comparing base (f561195) to head (9dbaaa6).

Files Patch % Lines
pdfarranger/pageutils.py 13.51% 32 Missing ⚠️
pdfarranger/pdfarranger.py 3.12% 31 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1065      +/-   ##
==========================================
- Coverage   79.66%   78.69%   -0.98%     
==========================================
  Files          13       13              
  Lines        4963     5032      +69     
==========================================
+ Hits         3954     3960       +6     
- Misses       1009     1072      +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

None yet

2 participants