Page 1 of 1

Problem saving/loading shortcuts to/from shortcuts.db

Posted: Mon 01 Oct, 2012 15:24
by Marcos
Since moving to Sqlite databases from simple registry values where directory shortcuts were stored in older FAR versions, I've observed a problem when the shortcuts are not available in other already open FAR windows (without closing and launching FAR again). However, this is not a problem of previous commands in history as reading from history.db.* is performed properly as necessary. By contrast, reading from shortcuts.db.* seems to be performed only upon FAR startup and shortcuts are saved to the db when FAR is closed.
In order for directory shortcuts to be made available in all already open FAR windows immediately, I'd suggest that:
- shortcuts are saved to shortcuts.db immediately when set
- shortcuts are loaded from shortcuts.db whenever a shortcut is pressed