-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Reflow text on resize #1864
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
Merged
Merged
Reflow text on resize #1864
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
8a50729
Reflow wider
Tyriar 314f98f
Mostly working for reflowing to smaller
Tyriar fa47036
Fix row removal in reflowLarger
Tyriar 8bc04c2
Tidy up
Tyriar 3311ed5
Do shrink in reverse, fix up row remove count again
Tyriar ae29dbb
Fix scrollbar when wrapping beyond single viewport of data
Tyriar 7684f93
Fix ydisp/ybase after trimming buffer
Tyriar 358898d
Fix some tests
Tyriar a33e8a6
Properly shrink rows to cols every time
Tyriar 2a0da17
Add a bunch of reflow tests
Tyriar 72369e0
Only enable reflow on the normal buffer
Tyriar 7435971
Merge remote-tracking branch 'origin/master' into 622_reflow3
Tyriar 4a9f10d
Remove some of Buffer's dependency on Terminal
Tyriar dde9618
Keep track of cols/rows inside Buffer
Tyriar 478742a
Make reflow small crazy fast
Tyriar c9f4a65
Clean up comments and todos
Tyriar b7081ab
Move loop into reflowLarger (adjust indent)
Tyriar 135e31f
Speed up reflow larger by batching removals
Tyriar 1612cec
Fix reflow larger bug, add regression test
Tyriar db488eb
Reflow combined chars
Tyriar 40e8618
Discard cut off combined data when resizing BufferLines
Tyriar 840970e
Update markers after a reflow
Tyriar 6559931
Add lots of tests
Tyriar 2ce67b8
Remove unneeded MockTerminal member
Tyriar 90950e2
Merge branch 'master' into 622_reflow3
jerch 6581eb7
fix leftover BufferLineConstructor
jerch 7fe3f0a
Improve BufferLine test
Tyriar 68197ed
Merge branch 'master' into 622_reflow3
Tyriar 4843ca5
Fix reflow larger with wide chars
Tyriar ce69dce
Progress on reflow smaller with wide chars
Tyriar df7cd9c
Get reflow smaller working for wide chars
Tyriar 178c513
Clean up
Tyriar deb04ca
Merge branch 'master' into 622_reflow3
Tyriar dfff04c
Pull toRemove step into BufferReflow
Tyriar d4bd8ae
Pull more parts out of reflow larger
Tyriar 99ac780
Remove out param from reflow large method
Tyriar 109e3a5
jsdoc
Tyriar 52a429f
Merge branch 'master' into 622_reflow3
Tyriar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.