File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -470,12 +470,12 @@ def _cursor_offset(self) -> int:
470470
471471 @property
472472 def cursor_at_start (self ) -> bool :
473- """Flag to indicate if the cursor is at the start"""
473+ """Flag to indicate if the cursor is at the start. """
474474 return self .cursor_position == 0
475475
476476 @property
477477 def cursor_at_end (self ) -> bool :
478- """Flag to indicate if the cursor is at the end"""
478+ """Flag to indicate if the cursor is at the end. """
479479 return self .cursor_position == len (self .value )
480480
481481 def check_consume_key (self , key : str , character : str | None ) -> bool :
@@ -518,7 +518,7 @@ def _watch_cursor_blink(self, blink: bool) -> None:
518518
519519 @property
520520 def cursor_screen_offset (self ) -> Offset :
521- """The offset of the cursor of this input in screen-space. (x, y)/(column, row)"""
521+ """The offset of the cursor of this input in screen-space. (x, y)/(column, row). """
522522 x , y , _width , _height = self .content_region
523523 scroll_x , _ = self .scroll_offset
524524 return Offset (x + self ._cursor_offset - scroll_x , y )
You can’t perform that action at this time.
0 commit comments