Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jan 27, 2021
1 parent 2474315 commit 65e6eff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Some optimizations for Text
- Further optimized Tracebacks by not tokenizing code more that necessary
- Table Column.header_style and Column.footer_style are now added to Table header/footer style

## [9.9.0] - 2021-01-23
Expand Down
1 change: 0 additions & 1 deletion rich/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,6 @@ def truncate(

def _trim_spans(self) -> None:
"""Remove or modify any spans that are over the end of the text."""
# new_length = self._length
max_offset = len(self.plain)
_Span = Span
self._spans[:] = [
Expand Down

0 comments on commit 65e6eff

Please sign in to comment.