Commit Graph

76 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 724e597d9c Added some extra checks for deleting files when the file is brand new, and updated the test to check it works 2020-05-30 15:34:28 +02:00
Veronica K. B. Olsen f3f61c43f0 Ensure that all folders exist when a new project has been created, but also check that the project folder was empty 2020-05-30 14:56:47 +02:00
Veronica K. B. Olsen 25aedc398b Add a couple of checks that handles are valid 2020-05-30 14:56:06 +02:00
Veronica K. B. Olsen c7533c165f Fixed a bug in the tokenizer for root folder headings 2020-05-30 11:43:08 +02:00
Veronica K. B. Olsen 6413211558 Fixed remnant from conflicting versions of the code that caused a crash 2020-05-30 00:45:45 +02:00
Veronica K. B. Olsen f3cc6359c4 Add an empty line at the end of the ToC.txt file 2020-05-30 00:20:14 +02:00
Veronica K. B. Olsen d27e2dc60f Added code to write contents txt and json files on project close 2020-05-30 00:15:07 +02:00
Veronica K. B. Olsen 7b8a852101 Corrected default title formats, and added editTime meta data 2020-05-29 23:46:13 +02:00
Veronica K. B. Olsen 5d2f6d33b5 Also updated the documen class with new project variables 2020-05-29 23:31:38 +02:00
Veronica K. B. Olsen cae9705e4f Files don't need the expanded flag saved to XML 2020-05-29 23:03:04 +02:00
Veronica K. B. Olsen 36ca2ee309 Cleane dup project open and handling of legacy project content 2020-05-29 23:01:25 +02:00
Veronica K. B. Olsen 1a9b6906c6 Wrap some long or too long code lines 2020-05-28 23:00:20 +02:00
Veronica K. B. Olsen d852a1a144 Some reformatting of error messages, mostly regarding line breaks. 2020-05-28 22:48:37 +02:00
Veronica K. B. Olsen 2bbde2c445 Improved the tokenizer class a bit 2020-05-28 20:19:55 +02:00
Veronica K. B. Olsen 3704956112 Merge branch 'dev' into view_details 2020-05-28 19:34:22 +02:00
Veronica K. B. Olsen bdbfa1d3c3 Some more cleanup 2020-05-28 19:13:51 +02:00
Veronica K. B. Olsen 7373f9636b Updated orphan file check 2020-05-28 19:03:59 +02:00
Veronica K. B. Olsen 192427deaa Changed the data structure of the project folder 2020-05-28 18:55:44 +02:00
Veronica K. B. Olsen 604aa84987 Merge branch 'master' into dev 2020-05-28 18:05:24 +02:00
Veronica K. B. Olsen f9e2d57fa7 This is even better 2020-05-28 00:29:45 +02:00
Veronica K. B. Olsen bfaddabf8d Changed the formatting codes for titles 2020-05-28 00:25:20 +02:00
Veronica K. B. Olsen 4f7d144163 Merge branch 'dev' into view_details 2020-05-27 22:05:24 +02:00
Veronica K. B. Olsen 03751c5ff9 No more document .bak files, .nwd~ works just fine. 2020-05-27 20:31:09 +02:00
Veronica K. B. Olsen bb5f39e5aa Merge branch 'dev' into view_details 2020-05-27 20:22:54 +02:00
Veronica K. B. Olsen 12aa25cc54 Added details tab to the Project Settings dialog 2020-05-27 18:09:55 +02:00
Veronica K. B. Olsen 7c78eff5ea Some more path checks. Should be fine now. 2020-05-27 16:35:09 +02:00
Veronica K. B. Olsen f1e717e6a1 Check that the backup folder is not inside the project path to be backed up 2020-05-27 01:04:10 +02:00
Veronica K. B. Olsen 4340b6b8b5 It should now be possible to navigate to positions within the documents when clicking links in various places 2020-05-25 23:31:41 +02:00
Veronica K. B. Olsen b3e4af1394 Added header anchor tags option to the html generator, and line numbers to the tokens list 2020-05-25 23:30:55 +02:00
Veronica K. B. Olsen 3b7927f0ff Back-references not consideres all tags in a document, not just the first one 2020-05-25 21:14:50 +02:00
Veronica K. B. Olsen 4672bc444b Fixed sorting bug for line numbers in index 2020-05-24 22:04:36 +02:00
Veronica K. B. Olsen 0dbcaacaeb Added comment 2020-05-24 18:37:32 +02:00
Veronica K. B. Olsen fb6e3f692e Fixed the formatting of novel page layout 2020-05-24 18:33:58 +02:00
Veronica K. B. Olsen c865dbd59b Added a lot of comments to functions in the source code 2020-05-24 16:42:28 +02:00
Veronica K. B. Olsen e1ce93416c Outline should not show non-exported items 2020-05-24 15:38:58 +02:00
Veronica K. Berglyd Olsen f60f7e42f8 Merge branch 'master' into release_0.6 2020-05-24 13:20:53 +02:00
Veronica K. B. Olsen 4de2b713f9 Ensure project tree is up to date before building project 2020-05-24 11:57:31 +02:00
Veronica K. B. Olsen a5e4f89d50 Fixed a typo 2020-05-23 21:24:12 +02:00
Veronica K. B. Olsen fd27f8d1e8 Added note root headings, changed some formatting, and improved export 2020-05-23 21:15:08 +02:00
Veronica K. B. Olsen cf58823f37 Now the page breaks render properly on print 2020-05-23 19:30:01 +02:00
Veronica K. B. Olsen a5729cf0a9 Cleaned up html export 2020-05-23 17:59:07 +02:00
Veronica K. B. Olsen fabcd1e631 As the ToHTML class now can be reused, move the regex stuff to the contructor 2020-05-23 15:25:39 +02:00
Veronica K. B. Olsen dd9ec4772b Lines with hard line breaks should not have a justify property 2020-05-23 14:35:41 +02:00
Veronica K. B. Olsen 59e6b725ba Made some fixes to the index (including a highlighting bug), some cleanup, and added more tests 2020-05-19 00:03:52 +02:00
Veronica K. B. Olsen 3a199b79c9 Merge branch 'master' into dev_0.6 2020-05-17 00:23:45 +02:00
Veronica K. B. Olsen 4dc768bdd2 Dropped the progress bar for rebuild index, and used statusbar instead 2020-05-16 21:56:26 +02:00
Veronica K. B. Olsen 69b101ce55 Merge branch 'master' into dev_0.6 2020-05-14 22:01:38 +02:00
Veronica K. B. Olsen 83e0a365ae Fixed an issue with orphaned file names sometimes being blank 2020-05-14 21:21:00 +02:00
Veronica K. B. Olsen aa342a7f19 Dropped Qt html export, and added nw markdown export 2020-05-12 19:44:30 +02:00
Veronica K. B. Olsen aa4778d4cd Preserve markdown during build, and use lists instead of strings 2020-05-12 18:41:08 +02:00