Commit Graph

61 Commits

Author SHA1 Message Date
Veronica K. B. Olsen dd14a38889 An update to how text is extracted from the text editor, conforms to the description in the Qt docs. 2020-05-29 20:38:46 +02:00
Veronica K. B. Olsen e4f2e088bb Need more calls to update document margins due to the document title bar. 2020-05-27 01:18:37 +02:00
Veronica K. B. Olsen 69d0a063f1 Wrong margin used ... 2020-05-26 18:53:37 +02:00
Veronica K. B. Olsen 0f64c1fa7a Fix the document editor and viewer margins to fit better with the document title header 2020-05-26 18:40: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 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 24596f28d6 Some more tuning of the documents margin function 2020-05-16 19:04:52 +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 07714168ff Fixed an issue with rendering large documents where some of the text wasn't visible 2020-05-14 21:19:03 +02:00
Veronica K. B. Olsen 3ad4e26dbc Cleanup of unneeded imports 2020-05-11 00:20:46 +02:00
Veronica K. B. Olsen 1ad156054c Make sure information is synced properly when item label is changed 2020-05-09 21:49:05 +02:00
Veronica K. B. Olsen 5a1ff7e7d3 Opening a document now seems to reset dynamic margins. Added a temporary fix. 2020-05-08 23:02:16 +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 386020bcf8 Renamed 'project' folder to 'core' 2020-05-08 20:58:34 +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 9204003f57 Add some pyqtSlot decorators as they apparently improve perforamce a tiny bit 2020-05-08 20:09:51 +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 b44669a3b5 Some minor tweaks, and added option for showing full path 2020-05-01 21:30:18 +02:00
Veronica K. B. Olsen bf3ecfbef4 Moved the document title element into the document instead of main GUI 2020-05-01 20:51:46 +02:00
Veronica K. B. Olsen cc1113ea6c Tie things together to ensure title is always updated, and add some needed comments here and there 2020-05-01 18:11:32 +02:00
Veronica K. B. Olsen 0387ce67b7 Base document title class ready. 2020-04-26 21:35:58 +02:00
Veronica K. B. Olsen 946331145f Added a hidden handle column to the outline tree, and connected the double click to open a document 2020-04-26 17:48:14 +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 110d27d067 Cleanup of imports 2020-02-17 13:30:26 +01:00
Veronica K. B. Olsen a2defebe94 The replace text method should only be used for large documents 2019-11-27 00:58:52 +01:00
Veronica K. B. Olsen 9ab64627f3 Added a spinning cursor for spell checker and open document 2019-11-26 23:07:18 +01:00
Veronica K. B. Olsen f21e85534d Handle comments with and without an initial space 2019-11-21 15:25:48 +01:00
Veronica K. B. Olsen 1711e5c615 Block formatting now complete 2019-11-21 14:31:12 +01:00
Veronica K. B. Olsen 20e1c2f6f2 Added the menu entry and handling of block formats 2019-11-21 14:00:55 +01:00
Veronica K. B. Olsen 8396e237c0 Moved a few slot functions around in docedit 2019-11-21 13:45:54 +01:00
Veronica K. B. Olsen 5b7e3fabde Cut/Copy/Select shortcuts now also work in doc viewer if it has focus 2019-11-21 13:37:11 +01:00
Veronica K. B. Olsen d4a33aba9f Wrong logic ... 2019-11-19 22:04:28 +01:00
Veronica K. B. Olsen eb68f3efc0 Change the method the document is rehighlighted. This is significantly faster 2019-11-19 21:49:11 +01:00
Veronica K. B. Olsen 3c6350a4da Disable initial spell checking for large documents 2019-11-19 18:48:44 +01:00
Veronica K. B. Olsen 2217f1d89c Improved highlighter performance and disabled initial spell checking 2019-11-19 18:19:38 +01:00
Veronica K. Berglyd Olsen af5159cdaf Merge branch 'master' into large_text_performance 2019-11-19 10:42:05 +01:00
Veronica K. B. Olsen 78a8f5bb9c Make sure a contentsChange signal is not emitted when document margins change 2019-11-19 10:36:43 +01:00
Veronica K. B. Olsen ba9f471695 Fixed a minor issue when insert from file was cancelled. 2019-11-17 22:10:33 +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 ec0f4880fa Let the document editor handle the status of spell checking, and let it set all other classes from there 2019-11-15 22:16:58 +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 bc43e924fe Strip non-word characters when adding to user dictionary 2019-11-12 21:24:13 +01:00
Veronica K. B. Olsen 154e91ede8 Remove unused imports 2019-11-09 21:01:43 +01:00
Veronica K. B. Olsen be2f812945 Fix a few minor issues related to opening and resizing of window panes 2019-11-09 14:34:02 +01:00
Veronica K. B. Olsen fab20c6c26 Added a separate text width parameter for zen mode 2019-11-09 14:24:59 +01:00
Veronica K. B. Olsen 90613b857b Finished the zen mode functionality, and added full screen F11 shortcut 2019-11-09 13:52:08 +01:00
Veronica K. B. Olsen 472205f1a6 Added menu entry and function for Zen mode, and cleaned up editor resizing 2019-11-09 01:19:17 +01:00
Veronica K. B. Olsen f01c2f9dee Updated icon and font for session timer, and added language info for status bar 2019-11-08 19:56:38 +01:00
Veronica K. B. Olsen f2265abf32 Finished the GUI option for spell check provider 2019-11-07 20:00:19 +01:00