# TextInputControl Behavior

## Key Bindings

|Key Combination|Platform|Function|
|---------------|--------|--------|
|ctrl-BACK_SLASH|linux, win|deselect|
|BACKSPACE| |delete previous char|
|alt-BACKSPACE|mac|delete previous word|
|ctrl-BACKSPACE|linux, win|delete previous word|
|shift-BACKSPACE| |delete previous char|
|shortcut-BACKSPACE|mac|delete from line start|
|COPY| |copy|
|CUT| |cut|
|DELETE| |delete next char|
|alt-DELETE|mac|delete next word|
|ctrl-DELETE|linux, win|delete next word|
|ctrl-shift-DIGIT9| |toggle the virtual keyboard (if supported)|
|DOWN| |move to document end|
|shift-DOWN| |select to document end|
|END| |move to document end|
|shift-END|mac|extend selection to document end|
|shift-END|linux, win|select document end|
|shift-shortcut-END| |select to document end|
|shortcut-END| |move to document end|
|ENTER| |fire (no-op)|
|ESCAPE| |cancel edit (forwarded to the parent container)|
|HOME| |move to document start|
|shift-HOME|mac|extend selection to document start|
|shift-HOME|linux, win|select to document start|
|shift-shortcut-HOME| |select to document start|
|shortcut-HOME| |move to document start|
|shift-INSERT| |paste|
|shortcut-INSERT| |copy|
|LEFT| |previous character|
|alt-LEFT| |left word|
|alt-shift-LEFT|mac|select left word|
|ctrl-LEFT|linux, win|left word|
|ctrl-shift-LEFT|linux, win|select left word|
|shift-LEFT| |select left|
|shift-shortcut-LEFT|mac|select to document start|
|shortcut-LEFT|mac|move to document start|
|PASTE| |paste|
|RIGHT| |next character|
|alt-RIGHT|mac|right word|
|alt-shift-RIGHT|mac|select right word|
|ctrl-RIGHT|linux, win|right word|
|ctrl-shift-RIGHT|linux, win|select right word|
|shift-RIGHT| |select right|
|shift-shortcut-RIGHT|mac|select to document end|
|shortcut-RIGHT|mac|move to document end|
|TAB| |focus next|
|ctrl-TAB| |focus next|
|ctrl-shift-TAB| |focus previous|
|shift-TAB| |focus previous|
|UP| |move to document start|
|shift-UP| |select to document start|
| | |  |
|shortcut-A| |select all|
|shortcut-C| |copy|
|ctrl-H|linux, win|delete previous char|
|shortcut-V| |paste|
|shortcut-X| |cut|
|ctrl-Y|win|redo|
|ctrl-shift-Z|linux|redo|
|shift-shortcut-Z|mac|redo|
|shortcut-Z| |undo|


Notes:

1. On Mac, alt is represented by the Option key.
2. On Mac, shortcut is represented by the Command key.