Commit Graph

126 Commits

Author SHA1 Message Date
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
Veronica K. B. Olsen 6331125b0c Fixed alert for orphaned items, and fixed setting item depth. 2019-05-04 11:54:24 +02:00
Veronica K. B. Olsen 92da5a335b Added an alert wrapper for both popup box and logger 2019-05-04 11:46:15 +02:00
Veronica K. B. Olsen ca022c31a6 Fiexd the about entries in the menu 2019-05-04 10:54:03 +02:00
Veronica K. B. Olsen faa1fe6efb Added open and save status messages to the status bar. 2019-05-04 10:24:40 +02:00
Veronica K. B. Olsen 5ae6066eb4 The item editor now selects save on enter key, and highlights name when dialog is opened. 2019-05-03 22:45:16 +02:00
Veronica K. B. Olsen 7092e20e9c The recent projects menu now properly repopulates after the order of recent items have changed 2019-05-03 22:44:41 +02:00
Veronica K. B. Olsen 574a4bd63c Drag and drop files into folders now works (didn't set parent item properly) 2019-05-03 22:43:56 +02:00
Veronica K. B. Olsen eb39b856b1 Fixed both drag and drop and moveTreeItem for top level items. 2019-05-03 22:16:00 +02:00
Veronica K. B. Olsen 2ed9f11716 Fixed the save button of project settings dialog, and setting the window title after saving settings 2019-05-03 21:59:49 +02:00
Veronica K. B. Olsen 116150ef01 Fixed creating new project, opening and saving of projects. 2019-05-03 21:56:51 +02:00