Skip to content

Commit

Permalink
Update src/textual/widgets/_text_area.py
Browse files Browse the repository at this point in the history
Co-authored-by: TomJGooding <[email protected]>
  • Loading branch information
davetapley and TomJGooding authored Oct 16, 2023
1 parent 23d9215 commit 1fd0554
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/textual/widgets/_text_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,11 +931,10 @@ def text(self) -> str:

@text.setter
def text(self, value: str) -> None:
"""Load text into the TextArea.
This will replace the text currently in the TextArea.
This is an alias of `load_text`.
"""Replace the text currently in the TextArea. This is an alias of `load_text`.
Args:
value: The text to load into the TextArea.
"""
self.load_text(value)

Expand Down

0 comments on commit 1fd0554

Please sign in to comment.