mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-24 18:10:54 +00:00
Small changes to toolbar long-clicks (#959)
* make "select all" key select word on long press * long-press 'copy' to cut text (instead of copy all)
This commit is contained in:
parent
bee51de8a5
commit
ec8efcd678
3 changed files with 5 additions and 4 deletions
|
@ -70,8 +70,9 @@ fun getCodeForToolbarKeyLongClick(key: ToolbarKey) = when (key) {
|
|||
CLIPBOARD -> KeyCode.CLIPBOARD_PASTE
|
||||
UNDO -> KeyCode.REDO
|
||||
REDO -> KeyCode.UNDO
|
||||
SELECT_ALL -> KeyCode.CLIPBOARD_SELECT_WORD
|
||||
SELECT_WORD -> KeyCode.CLIPBOARD_SELECT_ALL
|
||||
COPY -> KeyCode.CLIPBOARD_COPY_ALL
|
||||
COPY -> KeyCode.CLIPBOARD_CUT
|
||||
PASTE -> KeyCode.CLIPBOARD
|
||||
LEFT -> KeyCode.WORD_LEFT
|
||||
RIGHT -> KeyCode.WORD_RIGHT
|
||||
|
|
|
@ -812,8 +812,8 @@ New dictionary:
|
|||
\n\t• move up/down &#65515; page up/down <br>
|
||||
\n\t• word left/right &#65515; line start/end <br>
|
||||
\n\t• page up/down &#65515; page start/end <br>
|
||||
\n\t• copy &#65515; copy all <br>
|
||||
\n\t• select word &#65515; select all <br>
|
||||
\n\t• copy &#65515; cut <br>
|
||||
\n\t• select word &#8596; select all <br>
|
||||
\n\t• undo &#8596; redo <br> <br>
|
||||
\n► Long-pressing keys in the suggestion strip toolbar pins them to the suggestion strip. <br> <br>
|
||||
\n► Long-press the Comma-key to access Clipboard View, Emoji View, One-handed Mode, Settings, or Switch Language: <br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue