Commit Graph

80 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen cf770ff77f Remove the condition that spell checking must be enabled to refresh highlighting (Issue #1414) 2023-04-13 17:57:14 +02:00
Veronica Berglyd Olsen 8bada3c468 Clarify instructions on how to download dictionaries on Windows 2023-03-20 22:36:49 +01:00
Veronica Berglyd Olsen aa3fe96158 Add some comments to explain what's going on in the block formatting 2023-02-10 20:07:52 +01:00
Veronica Berglyd Olsen 5b20061607 Only insert line break for block formats if the block already has text (#1349, #1350) 2023-02-10 20:01:46 +01:00
Veronica Berglyd Olsen 0c75a53e57 Fix wrong inport of PyQt5 version (#1324) 2023-01-29 02:13:32 +01:00
Veronica Berglyd Olsen 41a0788b4c Update copyright year to 2023 2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen 32d75567e3 Use direct imports everywhere 2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen e84b8d4d1d Fix versions in module docstrings, more 2022-11-25 22:57:05 +01:00
Veronica Berglyd Olsen 61ab597499 Make go to line in editor work consistently with auto-scrolling 2022-11-16 11:21:16 +01:00
Veronica Berglyd Olsen a2ea7b40e2 Don't reload document if opening the same (#1242) 2022-11-15 16:49:59 +01:00
Veronica Berglyd Olsen 6560594c49 Fix scrolling when moving to a specific line in editor (#1239) 2022-11-15 16:48:46 +01:00
Veronica Berglyd Olsen ebc6654069 Improve how the novel tree is refreshed 2022-11-14 18:45:36 +01:00
Veronica Berglyd Olsen e52d8d9ff7 Add novel tree method to refresh metadata for item 2022-11-14 16:59:04 +01:00
Veronica Berglyd Olsen 612034f6be Make the item class non-dynamic, and cache formatting vars in editor 2022-11-11 17:09:03 +01:00
Veronica Berglyd Olsen b05028e3c9 Split up the storage of quote symbols in config 2022-11-11 12:50:36 +01:00
Veronica Berglyd Olsen ee79d3d6d6 Fix tests for core classes 2022-11-08 19:48:06 +01:00
Veronica Berglyd Olsen 262a6c36b7 Rename NWDoc class to NWDocument 2022-11-07 22:51:09 +01:00
Veronica Berglyd Olsen a75424e44b Use storage class to return document objects 2022-11-06 00:29:43 +01:00
Veronica Berglyd Olsen 3a161e90f9 Complete loading project xml via data class 2022-10-31 18:11:46 +01:00
Veronica Berglyd Olsen 3a90ee2b0d Add insert menu entry for synopsis comment (#1177) 2022-10-29 01:26:26 +02:00
Veronica Berglyd Olsen 33eb3efb11 Remove restriction on formatting empty block (#1178) 2022-10-29 01:05:33 +02:00
Veronica Berglyd Olsen 4a9ea459fa Make some minor changes and update test coverage 2022-10-29 00:38:32 +02:00
Veronica Berglyd Olsen 8d7ebefa65 Fix updating syntax colours (#1171) 2022-10-25 23:56:07 +02:00
Veronica Berglyd Olsen 88183cdc39 Add updateTheme functions to remaining GUI components 2022-10-25 23:42:43 +02:00
Veronica Berglyd Olsen 52ede26f3d Add updateTheme functions to most GUI components 2022-10-25 23:12:21 +02:00
Veronica Berglyd Olsen e1ecd3cd27 Fix some code linter complaints in doc editor 2022-10-25 22:01:44 +02:00
Veronica Berglyd Olsen f2e3d95e98 Merge branch 'main' into merge_1.6.6 2022-10-25 18:47:36 +02:00
Veronica Berglyd Olsen dc0f9abdbc Fix lookup of tags with spaces (#1195) 2022-10-25 18:12:29 +02:00
Veronica Berglyd Olsen 734f3d57bf Rename statusBar to mainStatus in main GUI due to conflict with Qt method (#1190) 2022-10-20 00:26:18 +02:00
Veronica Berglyd Olsen 6a6742275f Clean up unused part of header check function in doc editor 2022-10-20 00:22:09 +02:00
Veronica Berglyd Olsen 8775b360d8 Remove all verbose log entries 2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen 8fe25d4b43 Update classes and functions to use the item as source of main heading instead of index 2022-10-17 20:15:45 +02:00
Veronica Berglyd Olsen 97724054ec Require at least Qt 5.10 instead 2022-10-15 23:05:43 +02:00
Veronica Berglyd Olsen 30661130ca Ignore coverage of lines of old Qt versions 2022-10-15 22:56:18 +02:00
Veronica Berglyd Olsen aadc576d0a Require at least Qt 5.9 2022-10-15 22:47:18 +02:00
Veronica Berglyd Olsen 64c07e8910 Change a few tooltip labels and remove focus mode checkbox in menu 2022-10-14 21:45:58 +02:00
Veronica Berglyd Olsen 038c66258b Backport fix for #1150 2022-10-13 10:24:00 +02:00
Veronica Berglyd Olsen 5d6778be57 Clean up class initialisation 2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen 9b5d2b2c2b Resolve issue #1150 2022-10-11 22:26:14 +02:00
Veronica Berglyd Olsen a24d37ffa4 Simplify the auto-insert space check code as this is efficient enough 2022-10-01 22:41:18 +02:00
Veronica Berglyd Olsen 1aeb66d9af Make sure existing space is stripped before inserting non-breaking space (#1061) 2022-10-01 22:35:00 +02:00
Veronica Berglyd Olsen a64c36221c Fix remaining merge conflict 2022-09-29 20:00:05 +02:00
Veronica Berglyd Olsen bf2229538e Bring patch 1.6.4 changes into main 2022-09-29 19:59:21 +02:00
Veronica Berglyd Olsen 7267490645 Backport fix #1113 2022-09-29 14:33:12 +02:00
Veronica Berglyd Olsen e6b2732281 Fix insert spaces crash (#1118) 2022-09-29 14:11:39 +02:00
Veronica Berglyd Olsen af55e57ba3 Fix clipping of cursor due to 0 doc margin, issue #1112 2022-09-14 16:48:46 +02:00
Veronica Berglyd Olsen 2407b61830 Fix typo in docstring and add reference to issue 2022-08-17 23:24:18 +02:00
Veronica Berglyd Olsen f08345b15e Merge branch 'main' into merge_patches 2022-08-17 23:21:10 +02:00
Veronica Berglyd Olsen fcfe7507d6 Block adding spaces before colon (French language feature) in certain meta data cases 2022-08-17 23:01:03 +02:00
Veronica Berglyd Olsen c917fc9c9c Fix issue #1096 and remove a couple of error ourputs 2022-08-17 21:49:41 +02:00