ttempe / chinese-support-addon

Addon for Anki2 that makes easier to input Chinese, in the spirit of batterseapower’s pinyin-toolkit for Anki1
https://github.com/ttempe/chinese-support-addon/wiki
47 stars 19 forks source link

Fill missing edits #44

Closed Varbird closed 9 years ago

Varbird commented 9 years ago

I committed any file that I changed from version 0.92 so if any changes have been made to these files since then my version might actually be a little outdated. Things to look at in particular are of course fill_missing.py and edit_behavior.py. I put the feature to add everything under one button called fill everything (except sound). One drawback of putting everything into edit_behavior.py (and having one function to fill all) is that it is difficult to count which cards don't have a field or which cards have had their pinyin updated. However, I have tested the button and it works and does manage to fill every field. I also kind of messed up the message that appears with the progress bar.

ttempe commented 9 years ago

Nice job! However, I also did some modifications in parallel.

Would you mind doing the following:

Then, the next action will be to update [my copy of] fill_missing.py to use the new edit_behavior.py functions. (You'll see that I added multiple functions, including some documentation).

Then I can make a new version of the add-on and share it with the world.