Keybinds for the LineEdit improvements.

This commit is contained in:
Pieter-Jan Briers
2020-05-04 17:46:28 +02:00
parent 5348e719e2
commit 8e516038fc

View File

@@ -68,6 +68,14 @@ binds:
- function: OpenCharacterMenu
type: State
key: C
- function: TextCursorSelect
# TextCursorSelect HAS to be above ExamineEntity
# So that LineEdit receives it correctly.
# TODO: Make it so that UI keybinds are somehow prioritized so this ordering stuff isn't necessary.
type: state
key: MouseLeft
mod1: Shift
canFocus: true
- function: ExamineEntity
type: State
key: MouseLeft
@@ -112,6 +120,16 @@ binds:
type: state
key: Right
canRepeat: true
- function: TextCursorWordLeft
type: state
key: Left
mod1: Control
canRepeat: true
- function: TextCursorWordRight
type: state
key: Right
mod1: Control
canRepeat: true
- function: TextCursorBegin
type: state
key: Home
@@ -119,6 +137,37 @@ binds:
type: state
key: End
canRepeat: true
- function: TextCursorSelectLeft
type: state
key: Left
mod1: Shift
canRepeat: true
- function: TextCursorSelectRight
type: state
key: Right
mod1: Shift
canRepeat: true
- function: TextCursorSelectWordLeft
type: state
key: Left
mod1: Shift
mod2: Control
canRepeat: true
- function: TextCursorSelectWordRight
type: state
key: Right
mod1: Shift
mod2: Control
canRepeat: true
- function: TextCursorSelectBegin
type: state
mod1: Shift
key: Home
- function: TextCursorSelectEnd
type: state
mod1: Shift
key: End
canRepeat: true
- function: TextBackspace
type: state
key: BackSpace
@@ -129,6 +178,18 @@ binds:
- function: TextSubmit
type: state
key: NumpadEnter
- function: TextSelectAll
type: state
key: A
mod1: Control
- function: TextCopy
type: state
key: C
mod1: Control
- function: TextCut
type: state
key: X
mod1: Control
- function: TextPaste
type: state
key: V