Commit Graph

136 Commits

Author SHA1 Message Date
Veronica K. B. Olsen d89e7fcd60 Stupid menu bug. 2019-05-18 18:34:21 +02:00
Veronica K. B. Olsen bec5c0113f Stupid menu bug. 2019-05-18 18:33:26 +02:00
Veronica K. B. Olsen 9e42e01488 Trigger the viewDocument call in gui test, which tests the tokenizer and converter as well 2019-05-18 18:23:44 +02:00
Veronica K. B. Olsen 8c49279280 The GUI test now covers the spell checker as well 2019-05-18 18:20:01 +02:00
Veronica K. B. Olsen bf1b4d5d3b Fixed tests, some resize issues, and cleaned out some unneeded code. 2019-05-18 18:13:25 +02:00
Veronica K. B. Olsen 2bbadcb3bd Open last edited and viewed document when opening project 2019-05-18 18:03:23 +02:00
Veronica K. B. Olsen 76a4e6499b Fix margins for viewer, and handle split positions properly 2019-05-18 17:50:56 +02:00
Veronica K. B. Olsen ac1f9569e6 Document editor and document viewer are now in different panes 2019-05-18 17:09:03 +02:00
Veronica K. B. Olsen 19b2521b73 Cursor position is now saved and loaded with the document. 2019-05-18 13:52:45 +02:00
Veronica K. B. Olsen cb71da5200 Move around the class methods a bit 2019-05-18 13:43:49 +02:00
Veronica K. B. Olsen c13e140e37 Tree must be built from list treeOrder, not the dict keys on python 3.5 2019-05-17 10:11:37 +02:00
Veronica K. B. Olsen 1caf96b2df Make WordCounter return properly 2019-05-17 09:41:52 +02:00
Veronica K. B. Olsen bc39ec7886 GUI tests working locally when headless. 2019-05-17 01:55:37 +02:00
Veronica K. B. Olsen 66f6494894 Added a basic test of the GUI 2019-05-16 23:20:44 +02:00
Veronica K. B. Olsen 53b97e8399 Importance colours added to the GUI 2019-05-12 21:54:21 +02:00
Veronica K. B. Olsen e2895ce4f7 Improved the alert to user interface, and added an enum class for severity flags. 2019-05-12 20:34:52 +02:00
Veronica K. B. Olsen db8afe344e Caught an unexpected itemclass None, but can't recreate the bug. Added an extra check. 2019-05-12 20:13:37 +02:00
Veronica K. B. Olsen a882ad2c22 Bugfix in item editor 2019-05-12 19:54:49 +02:00
Veronica K. B. Olsen a94715ba71 Bumped version to 0.1.1 2019-05-12 17:54:53 +02:00
Veronica K. B. Olsen 237c92da1a Commented out a debug message 2019-05-12 16:24:14 +02:00
Veronica K. B. Olsen fbdff8d249 Spell check can now be enabled/disabled and re-run on document 2019-05-12 16:18:37 +02:00
Veronica K. B. Olsen 00cc5617a5 Added spellCheck flag to project settings 2019-05-12 15:42:42 +02:00
Veronica K. B. Olsen 72a3e4f9dd Fixed merge conflicts 2019-05-12 14:10:41 +02:00
Veronica K. B. Olsen f1d30ae253 Project class should not contain any GUI elements. Status icons moved to main GUI class. 2019-05-12 14:08:52 +02:00
Veronica K. B. Olsen edab608c3b Some changes to core classes and files to support the test suite 2019-05-12 13:29:41 +02:00
Veronica K. B. Olsen aeea55e234 Merge branch 'master' into release 2019-05-11 01:14:21 +02:00
Veronica K. B. Olsen fe05761fe7 Fixed the preview call so it only works on files. 2019-05-11 01:14:03 +02:00
Veronica K. B. Olsen 73f1547e9f Using a better word splitting regex, but need to replace underscores with spaces. 2019-05-11 00:26:19 +02:00
Veronica K. B. Olsen a59f9fe8cb Fixed the spell check regex for italics and underscore text 2019-05-10 23:26:29 +02:00
Veronica K. B. Olsen 00bc83543d Improved the suggestion menu 2019-05-10 23:16:15 +02:00
Veronica K. B. Olsen d6409a5bf9 Spell checker context menu can now add words to dictionary for current project 2019-05-10 23:11:46 +02:00
Veronica K. B. Olsen f26cb7c281 Open spell check context menu with ctrl+. shortcut 2019-05-10 21:16:11 +02:00
Veronica K. B. Olsen 87c786975a Reimplemented the spell check replace word code 2019-05-10 20:58:05 +02:00
Veronica K. B. Olsen 5adb2f9f97 Remove the 'hack' to get a word under cursor position as we can just use self.cursorForPosition() 2019-05-10 19:56:10 +02:00
Veronica K. B. Olsen b50fb0b102 Commented out the non-functioning menu items, and commited the latest changes to the sample project 2019-05-10 18:51:05 +02:00
Veronica K. B. Olsen 23f3e4b5bb Ctrl+R now previews the document as HTML 2019-05-10 18:47:57 +02:00
Veronica K. B. Olsen 7644df1c52 Added the GuiDocViewer class 2019-05-10 18:33:32 +02:00
Veronica K. B. Olsen 83169d9075 Updated tokenizer, and added html converter as a subclass 2019-05-07 18:47:55 +02:00
Veronica K. B. Olsen e0936b5f33 Text tokenizer done. 2019-05-07 18:01:19 +02:00
Veronica K. B. Olsen 7166dfbb2e Started adding framework for document tokenizer. 2019-05-05 23:16:53 +02:00
Veronica K. B. Olsen fd3b05f118 Some changes to the project did not trigger the project changed flag. Also trimmed some logging output. 2019-05-05 22:25:53 +02:00
Veronica K. B. Olsen 971d8a9a59 Added better tracking of document and project changes and added coloured icons for the status bar 2019-05-05 01:02:04 +02:00
Veronica K. B. Olsen 9565b14d8b Autosaving works, and document and project tracks whether they have been changed or not. 2019-05-05 00:11:46 +02:00
Veronica K. B. Olsen 9ea70aeeaf Added spelling language to config, and updated sample project 2019-05-04 22:25:34 +02:00
Veronica K. B. Olsen fe4d2f4a85 Some tweaking in the highlichter class, and added the spelling suggestion context menu. 2019-05-04 22:10:41 +02:00
Veronica K. B. Olsen 7c391eb660 Fixed some bits and added spellcheck to the highlighting class using pyenchant 2019-05-04 21:39:05 +02:00
Veronica K. B. Olsen e55c92d83a Allow notes also in novel tree 2019-05-04 17:27:43 +02:00
Veronica K. B. Olsen edcf9665b5 Folders can now be deleted as well, and depth and haschildren flags removed from item meta data. 2019-05-04 17:24:17 +02:00
Veronica K. B. Olsen c775636a71 Files can now be moved to trash 2019-05-04 16:24:38 +02:00
Veronica K. B. Olsen 7768335d3f Added code to create trash folder when needed. 2019-05-04 15:59:11 +02:00