Commit Graph

175 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 4fcff94b05 Make sure the document isn't overwritten if it exists, but we have an error loading it due to encoding, or otherwise 2019-10-28 14:12:26 +01:00
Veronica K. B. Olsen a67d3ed599 Set autoreplace characters with unicode code instead to make it easier to read the source code 2019-10-25 00:06:39 +02:00
Veronica K. B. Olsen 558af9f329 Added an import file to document feature 2019-10-23 21:05:33 +02:00
Veronica K. B. Olsen 052272938c Remove icon from context menu 2019-10-06 17:51:59 +02:00
Veronica K. B. Olsen 74bc412739 Updated debug info 2019-10-06 15:57:45 +02:00
Veronica K. B. Olsen d7e485af05 Some improvements to replace action 2019-10-06 15:51:46 +02:00
Veronica K. B. Olsen d91d77d5ab Search/replace now fully implemented, although only for currently edited document 2019-10-06 15:36:34 +02:00
Veronica K. B. Olsen cb2ee95d10 Simple search function now working 2019-09-29 18:50:43 +02:00
Veronica K. B. Olsen 1bf539d490 Basic search feature now works, but needs more tweaking 2019-09-29 17:16:17 +02:00
Veronica K. B. Olsen 57929a1138 Added version checking for Qt5 and PyQt5 dependencies 2019-09-14 11:41:24 +02:00
Veronica K. B. Olsen 21b7e882ac A few GUI tweaks 2019-06-15 22:19:52 +02:00
Veronica K. B. Olsen b934d0439a Major reorganisation of themes, and added a few more syntax themes 2019-06-15 20:07:35 +02:00
Veronica K. B. Olsen 583e10adec Added dark tomorrow theme and separated gui theme from syntax 2019-06-15 15:24:29 +02:00
Veronica K. B. Olsen 4e5f2d30f4 Rewritten how document margins and text width is handled 2019-06-15 12:25:02 +02:00
Veronica K. B. Olsen 8e73d6ac9a Fixed setting of font for doceditor and docviewer 2019-06-12 20:55:41 +02:00
Veronica K. B. Olsen 46bd7a8871 Fixed the loading of dictionaries 2019-06-12 20:33:06 +02:00
Veronica K. B. Olsen c48b1deb8f Added wrapper classes for spell checker so new libraries can be added 2019-06-11 20:27:29 +02:00
Veronica K. B. Olsen f9f8d292d1 Finished all the autoreplace options in the config gui 2019-06-11 15:43:04 +02:00
Veronica K. B. Olsen 30f25fcb2b Added a number of options to the config gui 2019-06-10 21:55:17 +02:00
Veronica K. B. Olsen 3793d03e4e Moved the NWDoc instance from main GUI to the docEditor as it is not really needed in the main view. 2019-06-09 10:16:40 +02:00
Veronica K. B. Olsen 07244045cc Make sure no menu items crashes the app when there is no project open 2019-06-08 15:57:22 +02:00
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