Fix documentation of word_and_line_from_point

This commit is contained in:
Kovid Goyal 2023-10-06 10:01:24 +05:30
parent baa0270ef3
commit 805bc499ee
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 9 additions and 10 deletions

View file

@ -43,6 +43,11 @@ The :doc:`ssh kitten <kittens/ssh>` is redesigned with powerful new features:
Detailed list of changes
-------------------------------------
0.30.2 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- A new mouse action ``mouse_selection word_and_line_from_point`` to select the current word under the mouse cursor and extend to end of line (:pull:`6663`)
0.30.1 [2023-10-05]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -720,11 +720,8 @@
mma('Select line from point',
'select_line_from_point ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point',
long_text='Select from the clicked point to the end of the line.'
)
mma('Select a word at the point, together with the rest of the line',
'select_word_and_line_from_point ctrl+alt+left triplepress ungrabbed mouse_selection word_and_line_from_point',
long_text='Select the word under the clicked point, as well as through the end of the line.'
' If you would like to select the word at the point and then extend to the rest of the line,'
' change line_from_point to word_and_line_from_point.'
)
mma('Extend the current selection',
@ -762,11 +759,8 @@
mma('Select line from point even when grabbed',
'select_line_from_point_grabbed ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point',
long_text='Select from the clicked point to the end of the line even when grabbed.'
)
mma('Select line from point even when grabbed',
'select_word_and_line_from_point_grabbed ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection word_and_line_from_point',
long_text='Select the click word and to end of line, even when grabbed.'
' If you would like to select the word at the point and then extend to the rest of the line,'
' change line_from_point to word_and_line_from_point.'
)
mma('Extend the current selection even when grabbed',