In-progress note-taking app based on lines.love

some helpers

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.

Created by  Kartik K. Agaram  on May 29, 2022
ETM7ENJRMQ3PFPGIKTEDCOTFW7LBOLE2YGIJCWSZB67ENAZGEHZQC
Change contents