about summary refs log tree commit diff stats
path: root/keychord.lua
Commit message (Collapse)AuthorAgeFilesLines
* support for num padKartik K. Agaram2023-07-071-0/+37
| | | | It'll only work after LÖVE v12 comes out.
* rename modifier_down to key_downKartik K. Agaram2023-06-051-4/+4
| | | | The old name was confusing, as its description showed.
* make love event names consistentKartik K. Agaram2022-12-231-1/+1
| | | | | I want the words to be easy to read, and to use a consistent tense. update and focus seem more timeless; let's make everything like those.
* editing source code from within the appKartik K. Agaram2022-09-031-3/+11
| | | | | integrated from pong.love via text.love: https://merveilles.town/@akkartik/108933336531898243
* bugfix: typing a capital letter deletes selectionKartik K. Agaram2022-06-261-1/+1
|
* bugfix: don't delete selection when moving cursorKartik K. Agaram2022-06-231-0/+4
|
* stop generating invalid keychordsKartik K. Agaram2022-06-141-0/+1
|
* select text with shift + mouseclickKartik K. Agaram2022-06-041-5/+5
| | | | | | | It's still a bit simple-minded. Most software will keep the first bound fixed and move the second. Lines currently has the bounds in a queue of sorts. But I have a test to indicate the behavior that is definitely desired. We'll see if we need it to get more complex.
* regression: typing uppercase letters in textKartik K. Agaram2022-05-301-7/+6
|
* some helpersKartik K. Agaram2022-05-291-0/+16
| | | | | | | | | | | | I spent some time trying to reduce the duplication between identical operations with and without the shift key pressed. However it makes things harder to understand. If you try to process selection in App.keychord_pressed in main.lua, you have to sometimes process the selection before (e.g. including the state of the cursor _before_ an arrow key takes effect), and sometimes after (e.g. copying the selection before resetting it, even though it doesn't include a shift key) Let's just leave things as they are.
* bugfix: include shift keys in modifier_downKartik K. Agaram2022-05-281-3/+25
|
* tweak modifier keys to include 'shift'Kartik K. Agaram2022-05-271-1/+4
|
* paste in text with M-vKartik K. Agaram2022-05-261-0/+5
|
* .Kartik K. Agaram2022-05-251-1/+0
|
* M-left/M-right for word-based motionsKartik K. Agaram2022-05-251-0/+1
|
* basic test-enabled frameworkKartik K. Agaram2022-05-221-3/+3
| | | | | Tests still have a lot of side-effects on the real screen. We'll gradually clean those up.
* handle chordsKartik K. Agaram2022-05-021-0/+25
For shift we'll mostly rely on love.textinput. For the rest I've created a simple driver.