Veronica Berglyd Olsen
9f667a0b35
Update code style to new standard
2021-07-05 16:28:44 +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
6d7ca2bb86
Cleanup ( #820 )
...
* Update instructions and readmes
* Cleanup in base files
* Cleanup in core files
* Cleanup in gui files
* Cleanup in dialog files
* Cleanup in tools files
* Cleanup in test files
2021-07-04 17:57:54 +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
0c286231cc
Remove multiple hashes before comments
2021-06-25 21:11:25 +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
b0225515d2
Remove isinstance check in error reporting
2021-06-10 21:55:40 +02:00
Veronica Berglyd Olsen
6e1e40f13e
Fix translations and refactor makeAlert calls
2021-06-10 21:42:40 +02:00
Veronica K. B. Olsen
6c79a1daba
Test terminology update
2021-05-02 17:48:28 +02:00
Veronica K. B. Olsen
eb62253137
Merge branch 'main' into dev
2021-05-02 17:12:41 +02:00
Veronica K. B. Olsen
551fd0aaf9
This line should not have been changed
2021-04-26 23:54:32 +02:00
Veronica K. B. Olsen
13cc2feb3f
Improve build class test
2021-04-26 23:41:40 +02:00
Veronica K. B. Olsen
e2b62fc9f6
Fix alternative save path in build, and also add in project wizard
2021-04-26 18:22:16 +02:00
Veronica K. B. Olsen
746268c3ef
GUI classes should only init with main GUI as parent
2021-04-25 17:50:11 +02:00
Veronica K. B. Olsen
48695651e1
Core classes should only init with project class and if needed access main gui via project
2021-04-25 17:39:52 +02:00
Veronica K. B. Olsen
03a80beebe
Move tools source files to their own folder
2021-04-23 21:34:45 +02:00
Veronica K. B. Olsen
b0c71fb47d
Removed the nw/tools folder and moved or merged the code in elsewhere
2020-05-08 21:28:05 +02:00
Veronica K. B. Olsen
9b049b6469
Moved spell checker classes to core folder
2020-05-08 21:02:30 +02:00
Veronica K. B. Olsen
5cc036e125
Fixed a bug in language lookup for enchant spelling
2020-05-08 20:57:03 +02:00
Veronica K. B. Olsen
704d9a11e4
Merged the spell checking classes into one file
2020-05-08 20:41:39 +02:00
Veronica K. B. Olsen
020a4c548a
Fixed formatting of URL in license docstring
2020-05-04 21:20:55 +02:00
Veronica K. B. Olsen
a03350269e
Removed additional empty line
2020-04-22 10:18:07 +02:00
Veronica K. B. Olsen
4b99cad20d
Fixed bug in loading of dictionary without enchant installed
2020-04-22 10:15:58 +02:00
Veronica K. B. Olsen
ba3c765ba8
Added license text to source files
2020-04-20 21:50:20 +02:00
Veronica K. B. Olsen
5e90b1ff77
Clear the outline header between projects
2020-04-14 22:20:40 +02:00
Veronica K. B. Olsen
717e4aba78
Fix merge conflicts
2020-02-27 00:19:18 +01:00
Veronica K. B. Olsen
4977ffd843
Clean up old json files
2020-02-19 19:57:08 +01:00
Veronica K. B. Olsen
5f0b331655
Replace old option state class with new one everywhere
2020-02-19 19:43:44 +01:00
Veronica K. B. Olsen
ecb739425b
Added new class to save dialog optins
2020-02-19 18:58:19 +01:00
Veronica K. B. Olsen
760aee0c8f
Added a function to clean out old project files no longer needed
2020-02-13 21:12:28 +01:00
Veronica K. B. Olsen
4739959c4e
Visible columns and column width in outline is now saved and loaded
2019-11-20 21:17:43 +01:00
Veronica K. B. Olsen
e0fff7673d
Added some more comments and debug output
2019-11-15 23:00:12 +01:00
Veronica K. B. Olsen
e841e0211a
We should read back the language dictionary setting from the spell class before updating status bar
2019-11-15 21:39:06 +01:00
Veronica K. B. Olsen
154e91ede8
Remove unused imports
2019-11-09 21:01:43 +01:00
Veronica K. B. Olsen
7fcd0731bf
Added a function to create a readable spell language string for the status bar
2019-11-08 19:56:08 +01:00
Veronica K. B. Olsen
f4accab93f
Spell checking tools and project word lists now cooperate
2019-11-07 22:05:03 +01:00
Veronica K. B. Olsen
334903daa9
Added combo box for spell tools
2019-11-06 20:47:35 +01:00
Veronica K. B. Olsen
9a8b97abd6
Fixed listing of internal dictionaries
2019-11-06 00:03:45 +01:00
Veronica K. B. Olsen
b4dd1d1a9e
Added simple spell chacking using difflib
2019-11-05 23:22:53 +01:00
Veronica K. B. Olsen
0e84452533
Reorganise constants, and add ISO language codes in order to drop dependency pycountry
2019-11-05 18:14:40 +01:00
Veronica K. B. Olsen
62988df7d2
Clean up imports
2019-11-03 19:44:58 +01:00
Veronica K. B. Olsen
b303eb6539
Further PEP8 compliance changes
2019-11-03 18:02:47 +01:00
Veronica K. B. Olsen
7c95af951a
Make comments and docstrings comply with PEP8
2019-11-03 17:23:39 +01:00
Veronica K. B. Olsen
d447453b8a
Added a bunch of files needed for setuptools to work correctly£
2019-10-31 16:45:18 +01:00
Veronica K. B. Olsen
1beb8a49c4
Added a dummy spell check class in case loading one fails
2019-10-29 22:19:05 +01:00
Veronica K. B. Olsen
f760eeb544
Set encoding for all text reads and writes to utf8, as windows defaults to latin1
2019-10-28 13:44:13 +01:00
Veronica K. B. Olsen
598eaa8c3c
Remember settings for session log, auto-refresh timeline, and check valid settings
2019-10-22 19:56:56 +02:00
Veronica K. B. Olsen
e8de021abc
Made the window options class in export a superclass for multiple windows
2019-10-21 18:50:35 +02:00
Veronica K. B. Olsen
287d94369f
Added header formatting to tokenizer
2019-10-19 01:17:19 +02:00