Commit graph

163 commits

Author SHA1 Message Date
Damien Elmes
b3aaf31f8a if text is selected, insert latex tags around 2009-05-16 04:39:24 +09:00
Damien Elmes
e1d8c31a1e update tags list when tags are changed 2009-05-09 03:28:47 +09:00
Damien Elmes
ec684b6367 ignore focusout event if in db handler 2009-05-02 05:30:50 +09:00
Damien Elmes
94dddb6531 fix images in preview, typo in hook code 2009-04-28 17:56:01 +09:00
Damien Elmes
0b7c8bcecc fix double-click to select 2009-04-25 19:18:07 +09:00
Damien Elmes
612eafc64a prevent double click except in chinese/japanese models 2009-04-25 01:18:44 +09:00
Damien Elmes
fc367de488 hack to fix latex position until qt4.5 becomes available 2009-04-19 00:20:56 +09:00
Damien Elmes
5d634e08fc fix width for darwin too 2009-04-19 00:10:10 +09:00
Damien Elmes
5988bb21b5 fix tag alignment on win32 2009-04-18 23:49:38 +09:00
Damien Elmes
a962a9fb51 document html editor shortcut 2009-04-18 03:27:51 +09:00
Damien Elmes
ef17e3b4c6 call a hook after creating a field 2009-04-18 03:20:54 +09:00
Damien Elmes
4d95b3487d scroll to top when adding, keep tags always shown, not tag up on field edit 2009-04-18 02:41:16 +09:00
Damien Elmes
b15bc9ef61 delay update of scroll widget, if change timer fires while deleting, delay 2009-04-17 23:19:05 +09:00
Damien Elmes
54db92e6ab set the background colour in the preview dialog 2009-04-11 00:42:23 +09:00
Damien Elmes
bdcac01aaa hide scrollbars in fact editor, use can use mouse wheel or keyboard 2009-04-06 23:34:46 +09:00
Damien Elmes
95d907333e fix reading update, update colour button in all fact editor instances 2009-04-05 13:45:07 +09:00
Damien Elmes
fe31d6fbd5 fix latex location on qt4.5 2009-03-29 11:37:26 +09:00
Damien Elmes
a601268d4c close(not hide) deck windows before deck close, remove stale hooks 2009-03-28 22:51:38 +09:00
Damien Elmes
a910a99a77 if model changed, refresh fact editor 2009-03-14 05:41:28 +09:00
Damien Elmes
8ddb47d967 add shortcut for html edit 2009-03-07 05:04:43 +09:00
Damien Elmes
4607d42c5f fix cloze undo 2009-03-06 06:06:50 +09:00
Damien Elmes
f6a1a8fc63 move cloze to f9, remove html editor shortcut 2009-03-06 06:01:51 +09:00
Damien Elmes
cfaf9388c3 correct wrapping of fields in cloze 2009-03-06 05:26:40 +09:00
Damien Elmes
7c02fe3c86 if there's a selection, ignore []s in cloze 2009-03-06 04:57:11 +09:00
Damien Elmes
3183fd2985 work around firefox png problems, revert previous change 2009-02-26 03:06:20 +09:00
Damien Elmes
f6280eb4fb favour url over image 2009-02-26 02:45:53 +09:00
Damien Elmes
0304b9c4f4 remove obsolete cloze undo code 2009-02-22 20:13:17 +09:00
Damien Elmes
e8e5b11477 after a tag or fact is modified, update the tag cache 2009-02-19 15:58:29 +09:00
Damien Elmes
473b4d326f provide correct parent to qcolordialog 2009-02-15 15:52:58 +09:00
Damien Elmes
af26ea2000 update tooltips to make emacs-style keybindings clearer 2009-02-15 15:51:04 +09:00
Damien Elmes
c7f4e32f01 don't set modified unless tags have changed 2009-02-09 21:57:26 +09:00
Damien Elmes
60a5f6782c change cloze tooltip 2009-02-09 18:15:38 +09:00
Damien Elmes
eb7620eb76 use square brackets, select to make cloze 2009-02-09 17:15:58 +09:00
Damien Elmes
c10ea4f255 improved colour support 2009-02-09 16:49:11 +09:00
Damien Elmes
ed30a36916 start work on improved colour choosing 2009-02-08 20:35:28 +09:00
Damien Elmes
8484bcc653 don't clear selection either 2009-02-08 16:30:24 +09:00
Damien Elmes
4d4fb8adba make setting colour work if there's no selection 2009-02-08 16:28:26 +09:00
Damien Elmes
99f9f9cc40 set fixed button height for win32 2009-02-08 05:05:50 +09:00
Damien Elmes
177ab82ed1 make sure undo done only if both q and a are the same 2009-02-08 04:42:03 +09:00
Damien Elmes
65d6194760 add help link 2009-02-08 00:02:41 +09:00
Damien Elmes
828f9fa5aa improved cloze - descriptions, colours 2009-02-07 23:42:04 +09:00
Damien Elmes
6b0e1982ff support cloze deletion 2009-02-07 22:20:28 +09:00
Damien Elmes
11d0b2d274 don't strip html on read/write 2009-02-06 18:44:00 +09:00
Damien Elmes
20d45e0134 hideable icons in fact editor 2009-02-04 21:38:58 +09:00
Damien Elmes
ba25cc028b if the image has an alpha channel, use a png instead 2009-02-04 13:20:30 +09:00
Damien Elmes
928bc99e1a fix preview & identation 2009-01-31 04:49:17 +09:00
Damien Elmes
582f89155d convert svgs to png on import 2009-01-24 18:01:45 +09:00
Damien Elmes
8d3220ad3d preserve text cursor when writing fields 2009-01-21 01:48:22 +09:00
Damien Elmes
c175109f70 wrap 2009-01-18 15:03:44 +09:00
Samson Melamed
af00f229f6 Merge commit 'resolve/master' 2009-01-18 01:00:18 -05:00
Samson Melamed
14af7bc5a2 report Mozilla-compatible User-Agent 2009-01-18 00:58:06 -05:00
Damien Elmes
e42eaafbd5 translation fixes, new polish translations from Piotr 2009-01-18 14:50:30 +09:00
Samson Melamed
11696f949e catch urllib2 errors when pasting images 2009-01-17 19:01:04 -05:00
Samson Melamed
043c402a45 fix double pasting in fact editor 2009-01-17 17:34:51 -05:00
Damien Elmes
b02b2ebff7 mac build scripts, report lame requirement on osx, fix model config button 2009-01-18 03:02:36 +09:00
Damien Elmes
f5b4e9f689 fix copy/paste of colours & images from anki to anki 2009-01-17 16:55:02 +09:00
Damien Elmes
96337615a5 identify all temp files as anki, remove kanji occur, tools>actions again 2009-01-17 16:29:26 +09:00
Damien Elmes
559a896f24 add mac test script, fix record snd option 2009-01-17 14:37:24 +09:00
Damien Elmes
e3e70488ef recording support, various changes
- progress bars refactored to use title 'anki' in most cases
- added 'record noise profile' option
- make sure to display 100% on progress
2009-01-17 01:04:13 +09:00
Damien Elmes
12b8dd5390 fix media dir change 2009-01-10 17:15:28 +09:00
Damien Elmes
883d5824f4 set media path if existing 2009-01-10 17:12:45 +09:00
Damien Elmes
e708f72a17 support pasting of http links that are not images/sounds 2009-01-09 18:39:45 +09:00
Damien Elmes
132c56a53d init media even on paste 2009-01-09 13:21:46 +09:00
Damien Elmes
05df5fb4e0 fix another unicode bug, add shortcut to options 2009-01-05 17:07:17 +09:00
Damien Elmes
aac727f2b5 added jump menu to cardlist 2009-01-05 14:29:34 +09:00
Damien Elmes
914fc45666 support drag & drop from konqueror too 2009-01-05 08:47:55 +09:00
Damien Elmes
3970aab5f8 support image drag & drop from firefox on linux 2009-01-05 08:46:20 +09:00
Damien Elmes
744e46f7fb allow drag&drop of sounds, fix unicode issues 2009-01-05 08:24:45 +09:00
Damien Elmes
104b4ecbba fix undo log bugs by ensuring deck not touched after close 2009-01-05 03:22:37 +09:00
Damien Elmes
b65fd5f6be use unicode name when adding to media db 2008-12-24 15:05:13 +09:00
Damien Elmes
ce3148f1ea support drag & drop from file browsers 2008-12-23 21:35:14 +09:00
Damien Elmes
9624463777 refresh main window after tag change 2008-12-23 20:39:14 +09:00
Damien Elmes
e63b7ef06d pre-wrap spaces, support indentation by user / programming etc 2008-12-23 18:43:24 +09:00
Damien Elmes
ed1758bb30 pass unicode name to qt 2008-12-11 03:27:26 +09:00
Damien Elmes
53cb4790af prefer image if text starts with http 2008-12-10 19:03:15 +09:00
Damien Elmes
0bbc7c7c74 text over images, pass current widget when adding picture 2008-12-10 17:58:32 +09:00
Damien Elmes
8282d3e7de don't autodetect html in html editor 2008-12-10 15:59:21 +09:00
Damien Elmes
249751fddd fix inserting image 2008-12-08 15:58:47 +09:00
Damien Elmes
d0777a4ffd fix reference to simplify 2008-12-07 12:21:36 +09:00
Damien Elmes
22f4f439f0 copy&paste images, make sort and tags in editor longer 2008-12-07 12:10:04 +09:00
Damien Elmes
a3ac8e3c0a fix tag saving, remember added tags without having to reopen, fix ret in add 2008-12-05 19:25:09 +09:00
Damien Elmes
45dd2c2c58 remove redundant audio commands & toolbar, fix tag bug 2008-12-04 01:53:43 +09:00
Damien Elmes
78ae7f48e6 make preview more like main window 2008-12-04 00:38:32 +09:00
Damien Elmes
a188f9d5c1 fix bug with preview 2008-12-04 00:37:05 +09:00
Damien Elmes
fa172b3fe7 use new feature hooks 2008-12-03 19:42:41 +09:00
Damien Elmes
e6d77ebb6d remember splitter state, possible fix for focus error 2008-12-01 00:02:51 +09:00
Damien Elmes
dda48886dd fix onchange, add ctrl+m 2008-11-30 22:54:02 +09:00
Damien Elmes
fd14b3f2dd add undo/redo to editor, focus current card, del 2008-11-30 05:39:04 +09:00
Damien Elmes
0717aa1d4f disable 'edit current' when no card, don't fail closing editor in empty deck 2008-11-29 15:31:23 +09:00
Damien Elmes
e0e6979101 move to stacked widgets, fix scrollbar display 2008-11-28 23:27:45 +09:00
Damien Elmes
e617fe7df7 fix a bug with html edit, fix loading remote images 2008-11-28 20:19:36 +09:00
Damien Elmes
37f96fb5a7 fix lookup, bug in addcards, tag completer 2008-11-28 18:52:39 +09:00
Damien Elmes
9c720452b9 fix close & selectfacts, only update field on change, remove yellow 2008-11-28 16:30:02 +09:00
Damien Elmes
7563879093 make sure to save facts before closing editor, etc 2008-11-27 15:58:00 +09:00
Damien Elmes
d6441cf520 strip newlines from html edit 2008-11-24 23:44:22 +09:00
Damien Elmes
9a696a48ec play sounds when previewing 2008-11-23 17:17:28 +09:00
Damien Elmes
9c67a69b65 html editor 2008-11-23 08:34:57 +09:00
Damien Elmes
e6db07b74a missing files 2008-11-23 07:49:43 +09:00
Damien Elmes
38c1f71d5d preview support, shortcuts, hide refresh, toggle edit 2008-11-23 07:49:03 +09:00
Damien Elmes
f1677b863f latex equations now have emacs-style keybindings 2008-11-22 18:18:08 +09:00