Commit Graph

138 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 00cc5617a5 Added spellCheck flag to project settings 2019-05-12 15:42:42 +02:00
Veronica K. Berglyd Olsen 0dd105e828 Merge pull request #2 from vkbo/unit_tests
Unit Tests
2019-05-12 15:01:14 +02:00
Veronica K. B. Olsen c39efc34fd A good start on project tests. needed some tewaking of the project class. 2019-05-12 14:54:02 +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 223db59e3d Added test framwork and two simple tests for the config class 2019-05-12 13:29:18 +02:00
Veronica K. B. Olsen ea34884d8c Updated config class to split the initialisation into a function 2019-05-12 11:59:47 +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. Berglyd Olsen f3fd51e826 Merge pull request #1 from vkbo/update_spellcheck
Improved SpellCheck Context
2019-05-11 01:08:50 +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 780e729c54 Bumped version for first minimal working release 2019-05-10 18:52:49 +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 a728a7c42e Updated todo file 2019-05-04 22:19:53 +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 e8858d4c7c Bug ... 2019-05-04 17:26:37 +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 933c555410 Saving changes to sample project 2019-05-04 10:25:08 +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 e82eadea3e Added a ToDo file 2019-05-03 23:40:58 +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
Veronica K. B. Olsen 665fbb04fe Fixed setting class and parent of a dropped orphaned item. 2019-05-03 20:46:06 +02:00