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
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
e1dcfaa1e3
Drop dictionary alignment by colon
2021-06-25 23:14:13 +02:00
Veronica Berglyd Olsen
26912f226f
Add double space before in-line comments
2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen
edfd7c9770
Remove encoding line and add spaces between classes and functions
2021-06-25 20:53:33 +02:00
Veronica Berglyd Olsen
80c4826253
Added left/right indentation to Tokenizer class
2021-06-10 00:04:54 +02:00
Veronica Berglyd Olsen
7d067f807d
Add text alignment tags
2021-06-09 22:08:31 +02:00
Veronica Berglyd Olsen
0826a2f8a3
Remove trailing space highlight and add highlight of redundant spaces
2021-05-23 16:17:05 +02:00
Veronica K. B. Olsen
f92ef05ee2
Move enum and constants to the root source folder
2021-03-28 17:15:17 +02:00
Veronica K. B. Olsen
96bc88d045
Added some smart filters for quote settings
2021-01-20 00:08:49 +01:00
Veronica K. B. Olsen
4934ec2ea1
Add syntax highlighting for open-ended quotes
2021-01-19 18:36:47 +01:00
Veronica K. B. Olsen
91d96b162e
Fixed and imrpoved margin calculations on GUI elements
2021-01-18 17:52:32 +01:00
Veronica K. B. Olsen
cdf3c62d17
Reformat and update the source file header docstrings
2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen
b2d3b2cf72
Bump copyright year to 2021
2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen
27696d65e4
Remove some unnecessary branches and unused functions
2020-12-12 19:22:38 +01:00
Veronica K. B. Olsen
c0ad631039
Updated source file descriptions
2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen
bf7429f028
Update format statements and improve status bar clock
2020-10-15 20:33:10 +02:00
Veronica K. B. Olsen
1a0f37fa45
Rename the regex constants
2020-10-14 18:13:42 +02:00
Veronica K. B. Olsen
366d601983
Change the strikethrough colour to the color labelled as 'hidden'
2020-10-14 16:06:51 +02:00
Veronica K. B. Olsen
8bbdbde7ca
Minor changes to document re-highlighting
2020-10-07 20:20:59 +02:00
Veronica K. B. Olsen
b6a4568254
Merge branch 'main' into better_spellcheck
2020-10-06 22:10:21 +02:00
Veronica K. B. Olsen
003d28f9db
Updating the index now only rehighlights lines with meta keywords
2020-10-05 22:55:21 +02:00
Veronica K. B. Olsen
96a5b9e4ae
More descriptive spell check tooltip
2020-10-04 21:21:30 +02:00
Veronica K. B. Olsen
e8383d1850
Fix spell checking for words with a dash
2020-10-04 20:32:55 +02:00
Veronica K. B. Olsen
eb66b879c5
Imports cleanup
2020-09-26 13:02:51 +02:00
Veronica K. B. Olsen
67f8a36272
Change copyright year to year-range
2020-09-22 23:13:46 +02:00
Veronica K. B. Olsen
9567e3dc4a
Improve regex matches for quote strings
2020-08-23 20:56:15 +02:00
Veronica K. B. Olsen
ca818bc497
Fix detecting slashes in spell check hihglighting
2020-08-22 12:36:17 +02:00
Veronica K. B. Olsen
832b5747df
Fiexd more formatting errors
2020-08-13 21:01:52 +02:00
Veronica K. B. Olsen
95ee2bf874
Fixed pycodestyle E231 errors
2020-08-12 20:51:22 +02:00
Veronica K. B. Olsen
a6a28b41d1
Added option to disable colour highlighting of emphasised text
2020-06-29 17:33:36 +02:00
Veronica K. B. Olsen
ceadfe1e5c
Improved regex, highlighting and HTML conversion of bold and italic text. Reverting to old syntax for italic.
2020-06-29 12:15:49 +02:00
Veronica K. B. Olsen
0fc0851def
Added insert options and key bindings for seven different symbol and space inserts
2020-06-19 17:35:14 +02:00
Veronica K. B. Olsen
bd8a6afd91
Minor tweaks in text parsing and highlighting
2020-06-13 21:14:04 +02:00
Veronica K. B. Olsen
ff6b4bcfa7
Improve the word saparation detection of the spell check highlighting
2020-06-13 20:44:27 +02:00
Veronica K. B. Olsen
d2b1b8b57e
Added back in strikethrough support
2020-06-13 10:27:02 +02:00
Veronica K. B. Olsen
49049e19d8
Moved the emphasis regexes to a constants class
2020-06-13 10:08:00 +02:00
Veronica K. B. Olsen
8adda0c4a9
Fix regexes to be exclusive for 1, 2 and 3 stars
2020-06-13 00:14:34 +02:00
Veronica K. B. Olsen
013b737452
Updated syntax highlighter
2020-06-12 22:47:13 +02:00
Veronica K. B. Olsen
29950e34a4
Some completeness in logger output
2020-06-10 17:19:52 +02:00
Veronica K. B. Olsen
bd3f6d39e7
Moved dochighlight up one level
2020-06-01 23:30:58 +02:00
Veronica K. B. Olsen
6f893bf321
Cleaned up the source files in the gui folder a bit.
2019-10-31 13:56:00 +01:00
Veronica K. B. Olsen
146756a395
Added unicode constants class, and support for non-breaking spaces, which aren't preserved on save.
2019-10-29 11:35:40 +01:00
Veronica K. B. Olsen
57bc837056
Added support for hard line breaks, with higlighting and export support
2019-10-28 21:30:46 +01:00
Veronica K. B. Olsen
fe12e99735
Fixed a bug where unicode characters were not included in the spell check regex
2019-10-20 14:23:27 +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
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
30f25fcb2b
Added a number of options to the config gui
2019-06-10 21:55:17 +02:00
Veronica K. B. Olsen
1bc2abaa41
Some changes to the syntax highlighter to match the rules in the autoreplace code
2019-06-08 22:00:12 +02:00
Veronica K. B. Olsen
ec6937beeb
Added highlighting for replace tags
2019-06-04 21:28:39 +02:00