about summary refs log tree commit diff stats
path: root/keychord.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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.