1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-20 07:08:06 +00:00

better text entry - bugfixes

This commit is contained in:
kepler155c@gmail.com
2019-03-29 15:47:01 -04:00
parent c1baf107c1
commit 19159730a4
4 changed files with 13 additions and 12 deletions

View File

@@ -327,24 +327,26 @@ local mappings = {
[ 'end' ] = Entry.moveEnd,
[ 'control-e' ] = Entry.moveEnd,
[ 'mouse_click' ] = Entry.moveTo,
[ 'backspace' ] = Entry.backspace,
[ 'control-right' ] = Entry.moveWordRight,
[ 'alt-f' ] = Entry.moveWordRight,
[ 'control-left' ] = Entry.moveWordLeft,
[ 'alt-b' ] = Entry.moveWordLeft,
[ 'mouse_doubleclick' ] = Entry.markWord,
[ 'backspace' ] = Entry.backspace,
[ 'delete' ] = Entry.delete,
[ 'char' ] = Entry.insertChar,
[ 'mouse_rightclick' ] = Entry.clearLine,
[ 'control-c' ] = Entry.copy,
[ 'control-u' ] = Entry.cutFromStart,
[ 'control-k' ] = Entry.cutToEnd,
--[ 'control-d' ] = Entry.cutNextWord,
[ 'control-w' ] = Entry.cutPrevWord,
[ 'char' ] = Entry.insertChar,
[ 'control-c' ] = Entry.copy,
--[ 'control-d' ] = Entry.cutNextWord,
[ 'control-x' ] = Entry.cut,
[ 'paste' ] = Entry.paste,
[ 'control-y' ] = Entry.paste,
[ 'mouse_rightclick' ] = Entry.clearLine,
[ 'mouse_doubleclick' ] = Entry.markWord,
[ 'shift-left' ] = Entry.markLeft,
[ 'shift-right' ] = Entry.markRight,
[ 'mouse_down' ] = Entry.markAnchor,