Skip to content

Commit 50b3677

Browse files
committed
Improve docstrings
1 parent a5c568b commit 50b3677

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/textual/widgets/_text_area.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,8 @@ def action_cursor_left(self, select: bool = False) -> None:
18351835
If the cursor is at the left edge of the document, try to move it to
18361836
the end of the previous line.
18371837
1838+
If text is selected, move the cursor to the start of the selection.
1839+
18381840
Args:
18391841
select: If True, select the text while moving.
18401842
"""
@@ -1858,6 +1860,8 @@ def action_cursor_right(self, select: bool = False) -> None:
18581860
18591861
If the cursor is at the end of a line, attempt to go to the start of the next line.
18601862
1863+
If text is selected, move the cursor to the end of the selection.
1864+
18611865
Args:
18621866
select: If True, select the text while moving.
18631867
"""

0 commit comments

Comments
 (0)