Commit graph

328 commits

Author SHA1 Message Date
Damien Elmes
2b326e5773 allow the user to paste with formatting by holding down; don't clobber clipboard 2011-04-28 09:28:01 +09:00
Damien Elmes
d0c9beddfd drop events from anywhere in anki should preserve formatting 2011-04-28 09:28:01 +09:00
Damien Elmes
157801621c 0s -> 0d 2011-04-28 09:28:01 +09:00
Damien Elmes
998ce99980 sensible default geom; allow units other than days 2011-04-28 09:28:01 +09:00
Damien Elmes
a64075916c add a review history dialog 2011-04-28 09:28:01 +09:00
Damien Elmes
3eb9212422 don't show interval if card is new 2011-04-28 09:28:01 +09:00
Damien Elmes
b7bd648762 remove some debugging 2011-04-28 09:28:01 +09:00
Damien Elmes
a45f2ceedc add autosave; improve undo state handling 2011-04-28 09:28:01 +09:00
Damien Elmes
64b9ba3da8 make sure sort indicator is updated on field hide, lowercase marked 2011-04-28 09:28:01 +09:00
Damien Elmes
4ab7185cc3 swap the deck list button with a groups button 2011-04-28 09:28:01 +09:00
Damien Elmes
9d5936f2b2 double-clicking a group selects only that group 2011-04-28 09:28:01 +09:00
Damien Elmes
4dd1071b44 clicking on initial group defaults to changing it 2011-04-28 09:28:01 +09:00
Damien Elmes
6950b1e64d group->initial group 2011-04-28 09:28:00 +09:00
Damien Elmes
5a5259971a after an undo, disable if empty 2011-04-28 09:28:00 +09:00
Damien Elmes
1c7cf73c5d split q/a line format up so it can be easily modified in a plugin 2011-04-28 09:28:00 +09:00
Damien Elmes
c7fb1146da tweak tab order 2011-04-28 09:28:00 +09:00
Damien Elmes
0c38354dae when editing a fact, use a group button instead of an input box 2011-04-28 09:28:00 +09:00
Damien Elmes
e26a735a49 remember tags & group on a per-model basis 2011-04-28 09:28:00 +09:00
Damien Elmes
a13b539819 fix resetRequired state getting stuck 2011-04-28 09:28:00 +09:00
Damien Elmes
2dcb86e4ac fix audio replay 2011-04-28 09:28:00 +09:00
Damien Elmes
59d3807c1c reenable centerQA 2011-04-28 09:28:00 +09:00
Damien Elmes
7b9b78fe63 make sure card stats is hidden when moving from review 2011-04-28 09:28:00 +09:00
Damien Elmes
863356badb fix about 2011-04-28 09:28:00 +09:00
Damien Elmes
c7cfbd1d35 fix deck switching 2011-04-28 09:28:00 +09:00
Damien Elmes
722645d4b7 option to delete unselected cards when generating 2011-04-28 09:28:00 +09:00
Damien Elmes
d9299a6793 ctrl+click to append filter 2011-04-28 09:28:00 +09:00
Damien Elmes
dac9f0584b group improvements
- set groups now supports setting cards from fact
- editor doesn't set cards when fact group is changed
- card group and fact group can be displayed separately
- window title doesn't bother to calculate total card count
2011-04-28 09:27:59 +09:00
Damien Elmes
b5df36f458 basic change group code 2011-04-28 09:27:59 +09:00
Damien Elmes
84f618cc46 show all possible tags again 2011-04-28 09:27:59 +09:00
Damien Elmes
612fefc347 remember search history 2011-04-28 09:27:59 +09:00
Damien Elmes
dd0a6563e7 reset conf after edit current 2011-04-28 09:27:59 +09:00
Damien Elmes
27f08a463a add->use a cloze deletion model 2011-04-28 09:27:59 +09:00
Damien Elmes
e3cba2c76a give a hint about full search when there are no matches 2011-04-28 09:27:59 +09:00
Damien Elmes
4fa0a68dd3 add a browser options dialog so the user can toggle full search 2011-04-28 09:27:59 +09:00
Damien Elmes
2c0d6b7425 make select facts show all cards 2011-04-28 09:27:59 +09:00
Damien Elmes
d081a3f864 option to toggle cloze behaviour in clayout 2011-04-28 09:27:59 +09:00
Damien Elmes
c3b0d51f1c style clozes 2011-04-28 09:27:59 +09:00
Damien Elmes
0530db216c fix modelchooser 2011-04-28 09:27:59 +09:00
Damien Elmes
9bae1503bb allow individual fields to be marked sticky instead of adding a separate button 2011-04-28 09:27:59 +09:00
Damien Elmes
4a931f811f add the toolbar config back to the prefs, so osx users can toggle 2011-04-28 09:27:58 +09:00
Damien Elmes
6efd9b9cbb add some js hooks 2011-04-28 09:27:58 +09:00
Damien Elmes
177fa8b052 option to show duplicate 2011-04-28 09:27:58 +09:00
Damien Elmes
ab3a84b984 add a new 'add&keep' button to add cards 2011-04-28 09:27:58 +09:00
Damien Elmes
f1a88e4fdd add tooltips back, now in utils 2011-04-28 09:27:58 +09:00
Damien Elmes
44fd672ef8 reenable closeAllWindows() 2011-04-28 09:27:58 +09:00
Damien Elmes
95fc3978a9 refresh current card on edit 2011-04-28 09:27:58 +09:00
Damien Elmes
270bfab5a7 drop useless start/end navigation keys; fix other keys to select properly 2011-04-28 09:27:58 +09:00
Damien Elmes
a51d51bca6 use new libanki temp funcs 2011-04-28 09:27:58 +09:00
Damien Elmes
f245c7651c use os check shortcuts 2011-04-28 09:27:58 +09:00
Damien Elmes
03092ab486 only update field name on focus change to prevent erroneous renames 2011-04-28 09:27:58 +09:00
Damien Elmes
f55c7492fd cleanup when leaving review state 2011-04-28 09:27:58 +09:00
Damien Elmes
d012bdc1a1 show + if 1000 or more 2011-04-28 09:27:58 +09:00
Damien Elmes
ec8f7d3856 use show() over exec_() due to osx bugs 2011-04-28 09:27:58 +09:00
Damien Elmes
74e5122717 modal open dialogs 2011-04-28 09:27:58 +09:00
Damien Elmes
7de4552b0e configurable document dir 2011-04-28 09:27:57 +09:00
Damien Elmes
ed3774ef7d changing sort field is w modal 2011-04-28 09:27:57 +09:00
Damien Elmes
f110ffbb5f add group field; instead of silently changing sort criteria, warn user 2011-04-28 09:27:57 +09:00
Damien Elmes
8f1e436c9a groups should delete in bulk too 2011-04-28 09:27:57 +09:00
Damien Elmes
6350f620ba reinit current state after reset 2011-04-28 09:27:57 +09:00
Damien Elmes
bb0b3d1823 don't save group/tags when there's no fact 2011-04-28 09:27:57 +09:00
Damien Elmes
f58110855b tweak some shortcuts 2011-04-28 09:27:57 +09:00
Damien Elmes
242b4be2f4 use a separate hook for current model changes so we don't have to rebuild 2011-04-28 09:27:57 +09:00
Damien Elmes
8ae7a8213d and find dialog 2011-04-28 09:27:57 +09:00
Damien Elmes
b770768a77 modalize gencards & change model 2011-04-28 09:27:57 +09:00
Damien Elmes
fdeb092a8d fix select all flicker 2011-04-28 09:27:57 +09:00
Damien Elmes
aadf9e2f87 re-search on reset 2011-04-28 09:27:57 +09:00
Damien Elmes
6d9f0a5c72 modal groups and study options 2011-04-28 09:27:57 +09:00
Damien Elmes
ae9a21167b modal info dialogs 2011-04-28 09:27:57 +09:00
Damien Elmes
04ffba2495 get text window modal 2011-04-28 09:27:56 +09:00
Damien Elmes
915798cf46 prevent flicker on modal dialogs 2011-04-28 09:27:56 +09:00
Damien Elmes
96a1802fc7 more edit current fixes 2011-04-28 09:27:56 +09:00
Damien Elmes
d9b08a8b28 reset on show to prevent changes in the background; fix editcurrent return 2011-04-28 09:27:56 +09:00
Damien Elmes
2c7a939073 require a reset after any edits 2011-04-28 09:27:56 +09:00
Damien Elmes
a07f62b507 ensure the fact area is focused on addcards 2011-04-28 09:27:56 +09:00
Damien Elmes
b4a7979157 fix enter advancing two 2011-04-28 09:27:56 +09:00
Damien Elmes
0c5c130f9f more robust deck load on startup 2011-04-28 09:27:56 +09:00
Damien Elmes
9da0a83735 edit current, hide 'close' button on osx 2011-04-28 09:27:56 +09:00
Damien Elmes
61cdea4865 make add card dialog window modal 2011-04-28 09:27:56 +09:00
Damien Elmes
9900b02795 mark/bury/etc in main window 2011-04-28 09:27:56 +09:00
Damien Elmes
5828081475 delay reset of main window after edits 2011-04-28 09:27:56 +09:00
Damien Elmes
a1db3e56a7 integer count in overview 2011-04-28 09:27:56 +09:00
Damien Elmes
02bc090828 jump to editor from add cards area 2011-04-28 09:27:56 +09:00
Damien Elmes
3855183213 find & replace 2011-04-28 09:27:56 +09:00
Damien Elmes
139048ad3f model changing 2011-04-28 09:27:55 +09:00
Damien Elmes
8865ca6131 _fields -> fields 2011-04-28 09:27:55 +09:00
Damien Elmes
2245be962a marking & suspending 2011-04-28 09:27:55 +09:00
Damien Elmes
fe17266b8d always refresh fact on row change; fix add/del cards 2011-04-28 09:27:55 +09:00
Damien Elmes
2db6bf51c2 fix getTag() 2011-04-28 09:27:55 +09:00
Damien Elmes
5831309280 card deletion, progress on genCards 2011-04-28 09:27:55 +09:00
Damien Elmes
a84cc55819 make excessive finish() calls a noop 2011-04-28 09:27:55 +09:00
Damien Elmes
437297c9b5 card generation 2011-04-28 09:27:55 +09:00
Damien Elmes
7da7894c89 add a progress handler to upgrade 2011-04-28 09:27:55 +09:00
Damien Elmes
2070a0ced9 make sure group and tags updated on new fact 2011-04-28 09:27:55 +09:00
Damien Elmes
e93a6379d3 update card gids on fact gid change 2011-04-28 09:27:55 +09:00
Damien Elmes
3c5277ca69 discard large selections 2011-04-28 09:27:55 +09:00
Damien Elmes
fe083e916f fix navigation 2011-04-28 09:27:55 +09:00
Damien Elmes
949dc9defd hide the editor when more than one card is selected 2011-04-28 09:27:55 +09:00
Damien Elmes
ae831408b2 undo, don't call cardCount() in titlebar, fix select facts 2011-04-28 09:27:55 +09:00
Damien Elmes
3bd8fd56b3 preserve selection when toggling columns 2011-04-28 09:27:54 +09:00
Damien Elmes
f97e096672 rework resetting and selection code
- now properly call begin/endresetmodel()
- restore not just the current card, but the whole selection
- do so in the model, for all operations like new searches, resorts, etc
2011-04-28 09:27:54 +09:00