chvp / NanoLedger

Ledger (plain text accounting) data entry app for Android
MIT License
50 stars 4 forks source link

Deletion of transactions #48

Closed chvp closed 3 months ago

chvp commented 11 months ago

Deleting transactions isn't trivial, because the parser throws away everything that isn't strictly what it needs. To be able to delete a transaction, we need to keep a transaction's "source". This might include extraneous data such as leading comments if we want to be able to write out the entire file, so we need to be careful that deleting a transaction doesn't delete too much.