Return a copy of this instance.
(self)
| 441 | return copy_self |
| 442 | |
| 443 | def copy(self) -> class="st">"Text": |
| 444 | class="st">""class="st">"Return a copy of this instance."class="st">"" |
| 445 | copy_self = Text( |
| 446 | self.plain, |
| 447 | style=self.style, |
| 448 | justify=self.justify, |
| 449 | overflow=self.overflow, |
| 450 | no_wrap=self.no_wrap, |
| 451 | end=self.end, |
| 452 | tab_size=self.tab_size, |
| 453 | ) |
| 454 | copy_self._spans[:] = self._spans |
| 455 | return copy_self |
| 456 | |
| 457 | def stylize( |
| 458 | self, |