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

Enumerate ranges in a deterministic order #1133

Merged
merged 5 commits into from
Feb 21, 2019

Conversation

Pankraty
Copy link
Member

@Pankraty Pankraty commented Jan 15, 2019

After the XLRangeIndex had been introduced XLRanges enumeration started to return ranges in the arbitrary order which broke ranges consolidation functionality.
This PR adds an ordering to the ranges enumeration and replaces and fixes #1098.

@igitur
Copy link
Member

igitur commented Jan 15, 2019

Thanks. Some tests are failing.

@Pankraty Pankraty changed the title Enumerate ranges in a deterministic order WIP Enumerate ranges in a deterministic order Jan 15, 2019
* merged ranges are now ordered from top to bottom;
* the first selected range to get active cell from is the one starting from the first row
@Pankraty Pankraty changed the title WIP Enumerate ranges in a deterministic order Enumerate ranges in a deterministic order Jan 15, 2019
@Pankraty Pankraty added the bug label Jan 15, 2019
@Pankraty
Copy link
Member Author

Fixed tests

@Pankraty Pankraty requested a review from igitur January 15, 2019 17:13
@Pankraty Pankraty added the .Report Issues affecting ClosedXML.Report project label Jan 15, 2019
@igitur igitur merged commit 0f9e88f into ClosedXML:develop Feb 21, 2019
@igitur
Copy link
Member

igitur commented Feb 21, 2019

selfie-0
GitHub Selfies

@igitur igitur added this to the v0.95 milestone Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug .Report Issues affecting ClosedXML.Report project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants