Commit Graph

19 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen bb1a778277 Merge Novel Layouts (#837)
* Merge novel layouts and simplify the Tokenizer class
* Fix core tests
* Delete auto-layout code
* Remove no longer needed item layouts
* Remove references to deleted item layouts in test
* Make some minor changes to Tokenizer class and update tests
* Update test reference files
* Update sample project
* Fix a few issues with the Tokenizer
* Centre some text in the sample documents
* Make some minor changes to how new projects are generated
* Add support for New Page and VSpace commands to the Tokenizer
* Remove Title and Page layouts and add codes for page break and vertical space
* Add document layout and fix some issues in index class with new title formats
* Update tests and reference files
* Bump the project file version and fix a minor issue in items class
* Update tests and test coverage
* Clean up some warnings and issues in tests
2021-08-02 23:44:35 +02:00
Veronica Berglyd Olsen c6973043e6 Index Updates (#840)
* Improve the index keyword checker function
* Implement a more compact indented JSON encoder
* Remove timestamp from reference, novel and note indices
* Remove empty entries in reference index
* Merge novel and note indices into a single file index
2021-08-01 18:19:03 +02:00
Veronica Berglyd Olsen 36be7b0b33 Test Coverage of the Editor (#787)
* Drop the _qDocument class variables
* Split up the current doceditor test file
* Add tests for editor init, load and save
* Add tests for editor meta functions and actions
* Add tests for editor insert functions
* Add tests for editor text manipulation and block formatting
* Fix code style
* Add text coverage for alignment and indent
2021-07-05 16:10:52 +02:00
Veronica Berglyd Olsen 26912f226f Add double space before in-line comments 2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen 991a61f2f6 Remove encoding line and add spaces between classes and functions, tests 2021-06-25 21:04:48 +02:00
Veronica Berglyd Olsen 2314777b4b Add test coverage 2021-05-23 15:04:26 +02:00
Veronica K. B. Olsen ba5e5f4bb5 Make GuiDocEditor variables private 2021-05-15 23:57:31 +02:00
Veronica K. B. Olsen 6c79a1daba Test terminology update 2021-05-02 17:48:28 +02:00
Veronica K. B. Olsen 1c072e9f32 Move dialog source files to their own folder 2021-04-23 21:24:09 +02:00
Veronica K. B. Olsen 820e6fcfa3 Update tests 2021-03-28 17:15:35 +02:00
Veronica K. B. Olsen 74910a6b56 Use an enum for switching focus instead of hard coded numbers 2021-03-22 18:57:57 +01:00
Veronica K. B. Olsen 5ab32326c1 Update tests 2021-03-22 18:39:25 +01:00
Veronica K. B. Olsen c374534d9e Fix test 2021-03-17 16:43:51 +01:00
Veronica K. B. Olsen ddda934eed Fix tests 2021-01-31 12:56:58 +01:00
Veronica K. B. Olsen 013fb58267 Block document action if editor does not have focus 2021-01-31 12:50:42 +01:00
Veronica K. B. Olsen f4f2feae3c Merge branch 'main' into actions_refactoring 2021-01-31 12:45:57 +01:00
Veronica K. Berglyd Olsen 2df0d81d29 Revert "Add timestamp to document meta" 2021-01-31 11:59:24 +01:00
Veronica K. B. Olsen 7a3c33fde3 Fix tests 2021-01-30 18:54:30 +01:00
Veronica K. B. Olsen a947ec10e4 Move test files into subfolders with similar structure as source code 2021-01-16 17:59:29 +01:00