diff --git a/CHANGELOG.md b/CHANGELOG.md index f3134355..08327232 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/rich/text.py b/rich/text.py index 8841be56..f4ccfcea 100644 --- a/rich/text.py +++ b/rich/text.py @@ -687,7 +687,6 @@ class Text(JupyterMixin): 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[:] = [