incremental-reading
incremental-reading copied to clipboard
Cannot add Ctrl+B/Ctrl+F for PgUp/PgDown any more.
I've been adding Ctrl+B (PgUp), Ctrl+F (PgDn), Ctrl+D (half PgDn) and maybe Ctrl+U (half PgUp) Vim-like shortcuts, but recently that stopped working on IR v4 (Anki 2.1b20).
Doesn't work with 4.7.5 + 1 commit and newer:
('Up', self.viewManager.lineUp),
('Down', self.viewManager.lineDown),
('Ctrl+B', self.viewManager.pageUp),
('Ctrl+F', self.viewManager.pageDown),
('PgUp', self.viewManager.pageUp),
('PgDown', self.viewManager.pageDown)]
It still works on 3.8.2 (Anki 2.0.x)
def addShortcuts(self):
addShortcut(self.lineUp, 'Up')
addShortcut(self.lineDown, 'Down')
addShortcut(self.pageUp, 'PgUp')
addShortcut(self.pageDown, 'PgDown')
addShortcut(self.pageUp, 'Ctrl+B')
addShortcut(self.pageDown, 'Ctrl+F')
addShortcut(self.zoomIn, 'Ctrl+=')
Ignore my last post. I'll see if I can reproduce this.
This has been working for some time, but at least right now, Ctrl+B does not work (the key combination, no matter how I use it). Maybe it is used elsewhere.