Skip to content

Commit

Permalink
add tip to text area editing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJGooding committed Mar 6, 2024
1 parent cb65d6e commit 11443e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/widgets/text_area.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ This method is the programmatic equivalent of selecting some text and then pasti

Some other convenient methods are available, such as [`insert`][textual.widgets._text_area.TextArea.insert], [`delete`][textual.widgets._text_area.TextArea.delete], and [`clear`][textual.widgets._text_area.TextArea.clear].

!!! tip
The `TextArea.document.end` property returns the location at the end of the
document, which might be convenient when editing programmatically.

### Working with the cursor

#### Moving the cursor
Expand Down

0 comments on commit 11443e8

Please sign in to comment.