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
1b89d0a4f0
Logger messages ( #818 )
...
* Change the way logger messages are generated by using the printf-like method
* Use single quotes around log values that can be empty strings
* Fix bug in log message
2021-07-02 10:22:00 +02:00
Veronica Berglyd Olsen
0575f89ae9
Remove alignments in arguments for format statements
2021-06-25 23:20:15 +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
6e1e40f13e
Fix translations and refactor makeAlert calls
2021-06-10 21:42:40 +02:00
Veronica K. B. Olsen
c6120fcf7c
Make some GuiDocViewer variables private
2021-05-17 16:57:49 +02:00
Veronica K. B. Olsen
ba5e5f4bb5
Make GuiDocEditor variables private
2021-05-15 23:57:31 +02:00
Veronica K. B. Olsen
6b119cf4b8
Remove the return false on error in doc viewer
2021-04-25 23:58: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
f92ef05ee2
Move enum and constants to the root source folder
2021-03-28 17:15:17 +02:00
Veronica K. B. Olsen
d5bd816676
Last round of changes to localisation
2021-02-16 18:14:04 +01:00
Veronica K. B. Olsen
df19ced50c
Rewrap self.tr and fix a few bugs
2021-02-15 16:47:57 +01:00
Bruno Kühnen Meneguello
98e3343808
novelWriter i18n and portuguese translation
2021-02-14 17:16:43 -03:00
Veronica K. B. Olsen
f67a50c064
Change the way Unicode is handled in HTML, and clean up the class a bit
2021-02-10 16:56:52 +01:00
Veronica K. B. Olsen
89ba4aeeaf
Use the logException function in all places where exception messages are written to the error log
2021-01-29 18:29:50 +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
9ffb5e6a16
Add grey syntax themes and fix automatic update when changing them
2020-12-08 17:33:34 +01:00
Veronica K. B. Olsen
91ece2b7f2
New test for ToHtml class
2020-12-04 20:58:44 +01:00
Veronica K. B. Olsen
ba0658ed48
Force a minimum height for document headers and footers
2020-11-21 13:10:52 +01:00
Veronica K. B. Olsen
a07bfec433
Palette no longer needs to be a class variable in headers and footers
2020-10-25 11:18:02 +01:00
Veronica K. B. Olsen
5edee1be0b
Also update colours on headers and footers
2020-10-25 11:14:04 +01:00
Veronica K. B. Olsen
dbab60d064
Properly update document colours when switching syntax theme
2020-10-25 10:57:20 +01:00
Veronica K. B. Olsen
c0ad631039
Updated source file descriptions
2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen
f69c37fe91
Cleanup of document viewer stylesheet
2020-10-19 23:46:15 +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
ae8ec555fd
Connected the new settings to the Preferences dialog
2020-10-11 20:13:39 +02:00
Veronica K. B. Olsen
fe71353198
Add option to hide scrollbars on all major GUI areas
2020-10-11 16:40:54 +02:00
Veronica K. B. Olsen
b40e4635d9
Further number formatting improvements
2020-10-08 00:06:17 +02:00
Veronica K. B. Olsen
d9b1363788
Use markContentsDirty when possible also for document viewer
2020-10-07 23:35:09 +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
d7feece887
Improvements to commenst and logtext
2020-09-18 15:20:27 +02:00
Veronica K. B. Olsen
90811d67fb
A couple of improvements after PR #445
2020-09-09 22:49:18 +02:00
Veronica K. B. Olsen
e2e82dba03
Added buttons to toggle comments and synopsis in the viewer footer
2020-09-09 21:05:42 +02:00
Veronica K. B. Olsen
a7a345f05c
Added backward and forward nav buttons
2020-09-08 22:00:07 +02:00
Veronica K. B. Olsen
e30064ba0b
Nav history in doc viewer now works
2020-09-08 21:20:38 +02:00
Veronica K. B. Olsen
2a3df92b20
Added starte view history class and connected mouse, menu and keyboard
2020-09-08 18:44:08 +02:00
Veronica K. B. Olsen
6ebc4ca268
Cleaned up the way navigation is done in the document viewer
2020-09-08 18:19:22 +02:00
Veronica K. B. Olsen
af34bb4f38
Added custom context menu also to document viewer
2020-09-06 14:01:08 +02:00
Veronica K. B. Olsen
aefb4e782c
Use more compact notation
2020-08-31 17:41:06 +02:00
Veronica K. B. Olsen
bcd8f94b2c
Move footer if horisontal scroll bar appears
2020-08-31 17:37:26 +02:00
Veronica K. B. Olsen
95dd867d47
Bring the readme file up to date
2020-08-18 20:11:57 +02:00
Veronica K. B. Olsen
4a20a0eb01
Use markContentsDirty on the QTextDocument instead of the textWidth hack
2020-08-18 08:50:08 +02:00
Veronica K. B. Olsen
b80ff750fb
A bit less aggressive version off the redraw text hack
2020-08-18 00:33:33 +02:00
Veronica K. B. Olsen
2f177c50fc
Improved the tab handling and added the same fix to the build tool
2020-08-18 00:21:25 +02:00
Veronica K. B. Olsen
1d9cd3ee49
Add a workaround for getting tabs through the html parsing and setHtml function in QTextBrowser
2020-08-17 22:39:38 +02:00
Veronica K. B. Olsen
00f0a6887c
Fixed flake8 W and F errors
2020-08-12 21:41:37 +02:00
Veronica K. B. Olsen
57c7fdcf6d
Fixed typo in tooltip
2020-07-05 23:25:29 +02:00
Veronica K. B. Olsen
731fd4e139
Add tooltip to some more main gui buttons
2020-07-04 19:55:38 +02:00