-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] conditional format: huge revisions on copy/paste cf
When copy/pasting a conditional format, the revision had one ADD_CONDITIONAL_FORMAT command per copied cell. That lead to huge revisions if, for example, a whole column with a CF was copied. Now the revision only has a single ADD_CONDITIONAL_FORMAT command per modified CF. The exact same work was done for data validation rules. Benchmark: ------------------- Copy/paste a column of 100 cells with a CF: closes #5059 Before: 46.6KB revision After: 526B revision (divided by 88!) Task: 4240668 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
- Loading branch information
1 parent
ace25cf
commit 70fe23b
Showing
3 changed files
with
103 additions
and
33 deletions.
There are no files selected for viewing
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
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
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