feat: always break after linebreak syntax and preserve linebreak in more cases in text-wrapping#286
Merged
QuadnucYard merged 1 commit intotypstyle-rs:masterfrom May 15, 2025
Conversation
📊 Benchmark Performance Reportgroup base pr
----- ---- --
pretty-cetz-manual 1.00 947.9±6.53µs ? ?/sec 1.02 963.2±5.61µs ? ?/sec
pretty-codly 1.00 1976.0±11.09µs ? ?/sec 1.02 2.0±0.12ms ? ?/sec
pretty-cpe 1.00 13.1±0.15ms ? ?/sec 1.00 13.0±0.15ms ? ?/sec
pretty-fletcher-diagram 1.00 560.7±8.29µs ? ?/sec 1.02 571.3±7.22µs ? ?/sec
pretty-fletcher-draw 1.00 1374.2±12.09µs ? ?/sec 1.01 1385.3±10.94µs ? ?/sec
pretty-tablex 1.00 3.7±0.03ms ? ?/sec 1.01 3.7±0.01ms ? ?/sec
pretty-touying-core 1.00 2.4±0.02ms ? ?/sec 1.04 2.4±0.09ms ? ?/sec
pretty-touying-utils 1.00 1324.0±28.71µs ? ?/sec 1.01 1333.8±11.05µs ? ?/sec
pretty-undergraduate-math 1.00 1032.4±42.78µs ? ?/sec 1.00 1030.3±8.78µs ? ?/secGenerated by GitHub Actions on Wed May 14 16:14:26 UTC 2025 |
81fb11e to
fe3cd7a
Compare
Enter-tainer
approved these changes
May 13, 2025
…ore cases in text-wrapping
fe3cd7a to
7d4de38
Compare
This was referenced May 15, 2025
This file contains hidden or 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
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.
Closes #285.
When text-wrapping is enabled:
\, except that there is a marker-like character after.Also fixed a bug discovered in development:
Tell me if more cases should be covered.