-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Cache TextPainter plain text value to improve performance #109841
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
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
09228a9
Cache plain text in TextPainter
tgucio 8ebf720
Use cached TextPainter plain text in Editable and above
tgucio a97a8a5
Missed change in _getRectFromUpstream
tgucio 42732d3
Update comment
tgucio 17d1f58
Trailing space
tgucio a091e8d
Handle out of bounds offsets in _getRectFrom*
tgucio 2740136
Merge branch 'flutter:master' into editable-plaintext-cache
tgucio dbb3a38
Merge remote-tracking branch 'upstream/master' into editable-plaintex…
tgucio 363caf5
Merge branch 'flutter:master' into editable-plaintext-cache
tgucio ab8d597
Update comment
tgucio 3dc0832
Update comments in editable.dart
tgucio 744a162
Add a test in TextPainter
tgucio 071df5b
Add a test in RenderEditable
tgucio f3e74f3
Fix after merge
tgucio bc87f6e
Fix analyzer warnings
tgucio 0062e7e
More analyzer warnings
tgucio bea8460
Handle null text
tgucio cd72e52
Pass placeholder dimensions for test
tgucio f8e0071
Remove extra newline
tgucio 57fbadf
Merge branch 'master' into editable-plaintext-cache
tgucio f876832
Fix merge error
tgucio 4a8f699
Merge branch 'flutter:master' into editable-plaintext-cache
tgucio 782e462
Remove trailing spaces
tgucio e70e455
Merge branch 'flutter:master' into editable-plaintext-cache
tgucio a6e7526
Merge branch 'master' into editable-plaintext-cache
tgucio 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
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
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
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
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
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.