Commit Graph

54 Commits

Author SHA1 Message Date
Veronica K. B. Olsen a2d0f937ae Connected the syntax highlicghter to the index. It now shows valid keywords and values 2019-05-30 19:57:02 +02:00
Veronica K. B. Olsen 9fc59262a9 Added project word count 2019-05-25 23:16:27 +02:00
Veronica K. B. Olsen 2bb10bd0d3 Fix setting of defaults in config 2019-05-25 22:13:20 +02:00
Veronica K. B. Olsen 3cbea6eff2 SOme cleanup of code in config, and added tab width option 2019-05-25 22:01:59 +02:00
Veronica K. B. Olsen 0f608d4442 Cleaned up import statements 2019-05-25 20:09:03 +02:00
Veronica K. B. Olsen ad79b60961 Changed the way creating new, and closing projects is done to make it more roubust 2019-05-24 00:37:45 +02:00
Veronica K. B. Olsen a2a6fd60bc Added a theme class that loads the theme from config 2019-05-18 20:48:19 +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 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 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 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 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 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 16f15db6fd Added select all and select paragraph features. 2019-04-23 18:38:22 +02:00
Veronica K. B. Olsen db67816276 Added text size and justify as editor options. 2019-04-23 17:45:38 +02:00
Veronica K. B. Olsen 4176b88437 Removing edit block begin and end seems to help 2019-04-23 17:12:14 +02:00
Veronica K. B. Olsen 5f5088a928 Improved the undo/redo of autoreplace, bgut still not perfect. 2019-04-23 17:09:23 +02:00
Veronica K. B. Olsen ffc577c943 Added format menu back in, and added a generic wrapping function that can do text formatting and wrap selection in quotes. 2019-04-23 16:37:48 +02:00
Veronica K. B. Olsen bc036b4e2a Simplified the GUI and removed button bar for document as we're no longer using rich text 2019-04-23 00:14:11 +02:00
Veronica K. B. Olsen 6bd2da5e72 Working text bold shortcut and toolbar 2019-04-22 21:39:19 +02:00
Veronica K. B. Olsen ae19cc7237 Updated autoreplace to handle quotes better, and to not destry undo history when replacing on a selection. 2019-04-22 21:16:03 +02:00
Veronica K. B. Olsen 3631b239fc Proagate word counts and save them for files. 2019-04-22 17:02:52 +02:00
Veronica K. B. Olsen 2727ade4a0 Cleaned up the import statements to remove unused objects 2019-04-22 14:22:06 +02:00
Veronica K. B. Olsen 03d1cee2b3 Implemented a working word and char counter that runs in the background at regular intervals. 2019-04-22 14:15:28 +02:00
Veronica K. B. Olsen 7c2eff8b9b First attempt at a word counter, but this is a bit slow. 2019-04-21 01:04:13 +02:00
Veronica K. B. Olsen d8f962cf84 Added text autoreplace functionality to doc editor. 2019-04-20 17:46:00 +02:00
Veronica K. B. Olsen 5609d16978 Fixed the utf-8 thingy at the top of files 2019-04-14 13:20:19 +02:00
Veronica K. B. Olsen ffdcb997af Finished the handling of text width, window resize, and save and load of editor config. 2019-04-07 23:38:34 +02:00
Veronica K. B. Olsen 2ed9fb12de Handling of window size and change 2019-04-06 21:58:48 +02:00
Veronica K. B. Olsen 5ae239bf7d Set colour variables and used a sample dark theme 2019-04-06 17:05:04 +02:00
Veronica K. B. Olsen aee91ef925 Added editor highlighting for markdown. 2019-04-06 16:50:42 +02:00
Veronica K. B. Olsen 7126e59bc7 Testing out going with markdown instead of html. 2019-04-06 10:25:49 +02:00
Veronica K. B. Olsen ec49adadcd Made the document fixed width. 2018-12-21 16:43:20 +01:00
Veronica K. B. Olsen 8c10251fff Changed initial version to 0.0.1 2018-11-02 22:11:11 +01:00
Veronica K. B. Olsen a5d453f7cb Some document formatting stuff. 2018-11-01 22:59:31 +01:00
Veronica K. B. Olsen d9e6a6f0b4 Can now open and save documents. 2018-11-01 21:51:46 +01:00