Commit Graph

114 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 3793d03e4e Moved the NWDoc instance from main GUI to the docEditor as it is not really needed in the main view. 2019-06-09 10:16:40 +02:00
Veronica K. B. Olsen 579db06651 Fixed merge conflicts 2019-06-09 09:39:18 +02:00
Veronica K. B. Olsen 121473969e Some reshuffling of loading into document viewer 2019-06-09 09:36:37 +02:00
Veronica K. B. Olsen 11bdf03f7c Improved the way document for viewing is selected. 2019-06-08 23:02:37 +02:00
Veronica K. B. Olsen dcf4903c64 Implemented the auto-replace code in the doc viewer. 2019-06-08 20:44:10 +02:00
Veronica K. B. Olsen 32a5ce2933 Merge branch 'master' into autoreplace 2019-06-08 16:03:23 +02:00
Veronica K. B. Olsen 07244045cc Make sure no menu items crashes the app when there is no project open 2019-06-08 15:57:22 +02:00
Veronica K. B. Olsen f5af655956 Started adding the autoreplace tab to project settings 2019-06-04 23:17:06 +02:00
Veronica K. B. Olsen fa52baa109 Remove the delay that helps to show the index build progress bar. 2019-06-01 21:13:24 +02:00
Veronica K. B. Olsen 48dc34c54d Updated tests and added a minimal test for timelineview. 2019-06-01 21:03:53 +02:00
Veronica K. B. Olsen 67c2912c7f Started adding timelibe view GUI 2019-05-31 18:59:53 +02:00
Veronica K. B. Olsen a2d0f937ae Connected the syntax highlicghter to the index. It now shows valid keywords and values 2019-05-30 19:57:02 +02:00
Veronica K. B. Olsen b526b0f5d9 Got a working version of index builder that seems to do what is needed. 2019-05-30 18:45:17 +02:00
Veronica K. B. Olsen 2962ab4070 Added menu option and function to scan all files to count words and build index 2019-05-30 14:37:25 +02:00
Veronica K. B. Olsen c273198e75 Reduced the index to a single dictionary 2019-05-28 22:18:37 +02:00
Veronica K. B. Olsen 8d871c0252 The index is now built and saved as a json file 2019-05-28 19:44:14 +02:00
Veronica K. B. Olsen ccef2a1e51 Building a simple index now works 2019-05-27 22:28:58 +02:00
Veronica K. B. Olsen 5c20075b73 Fixed a bug in closing the app with the X button and selecting No on the question 2019-05-26 17:06:40 +02:00
Veronica K. B. Olsen 6c6d1ac325 Added a session timer to the status bar. 2019-05-26 17:02:32 +02:00
Veronica K. B. Olsen 61cbfe08c5 Moved makeAlert to dialog section in main GUI source 2019-05-26 15:55:53 +02:00
Veronica K. B. Olsen c485851df3 Added closing of document feature 2019-05-26 15:55:10 +02:00
Veronica K. B. Olsen 76cb03fad8 Some reorganisation of how stuff is opened and closed. 2019-05-26 15:34:34 +02:00
Veronica K. B. Olsen 367d2c5014 Added a log file that appends session stats. 2019-05-26 14:39:13 +02:00
Veronica K. B. Olsen 601bd3dca6 Filenames are set nwFiles now, and deleted some unused file in nw/gui 2019-05-26 14:06:48 +02:00
Veronica K. B. Olsen 1ded8425d0 Closing project should clear the status bar. 2019-05-25 23:43:09 +02:00
Veronica K. B. Olsen 7450604c1b Fixed a little annoying bit about dialogs and tests 2019-05-25 23:40:17 +02:00
Veronica K. B. Olsen 6530a162fb Fixed tests 2019-05-25 23:34:54 +02:00
Veronica K. B. Olsen 0f608d4442 Cleaned up import statements 2019-05-25 20:09:03 +02:00
Veronica K. B. Olsen 9dd956bc92 Added exit yes/no dialog 2019-05-25 19:59:43 +02:00
Veronica K. B. Olsen c40649b22d Slight modification to main GUI test 2019-05-25 19:40:31 +02:00
Veronica K. B. Olsen b4a405c57e Doxument view can now be closed 2019-05-25 19:30:18 +02:00
Veronica K. B. Olsen dbdf28f339 Align text on split view move 2019-05-25 19:12:30 +02:00
Veronica K. B. Olsen ad79b60961 Changed the way creating new, and closing projects is done to make it more roubust 2019-05-24 00:37:45 +02:00
Veronica K. B. Olsen fdd9c58235 Document tree is now refreshed when status colours change 2019-05-19 22:20:54 +02:00
Veronica K. B. Olsen edb6c41788 Manipulating statuses now seem to work, and update correctly. 2019-05-19 21:55:50 +02:00
Veronica K. B. Olsen 540aa7fcbc Moved item status recrod keeping into a separate iterable class 2019-05-19 19:03:59 +02:00
Veronica K. B. Olsen a2a6fd60bc Added a theme class that loads the theme from config 2019-05-18 20:48:19 +02:00
Veronica K. B. Olsen ccca604037 Using two splitters instead of one to make positioning easier. 2019-05-18 19:33:18 +02:00
Veronica K. B. Olsen d89e7fcd60 Stupid menu bug. 2019-05-18 18:34:21 +02:00
Veronica K. B. Olsen 9e42e01488 Trigger the viewDocument call in gui test, which tests the tokenizer and converter as well 2019-05-18 18:23:44 +02:00
Veronica K. B. Olsen bf1b4d5d3b Fixed tests, some resize issues, and cleaned out some unneeded code. 2019-05-18 18:13:25 +02:00
Veronica K. B. Olsen 2bbadcb3bd Open last edited and viewed document when opening project 2019-05-18 18:03:23 +02:00
Veronica K. B. Olsen 76a4e6499b Fix margins for viewer, and handle split positions properly 2019-05-18 17:50:56 +02:00
Veronica K. B. Olsen ac1f9569e6 Document editor and document viewer are now in different panes 2019-05-18 17:09:03 +02:00
Veronica K. B. Olsen 19b2521b73 Cursor position is now saved and loaded with the document. 2019-05-18 13:52:45 +02:00
Veronica K. B. Olsen bc39ec7886 GUI tests working locally when headless. 2019-05-17 01:55:37 +02:00
Veronica K. B. Olsen 66f6494894 Added a basic test of the GUI 2019-05-16 23:20:44 +02:00
Veronica K. B. Olsen 53b97e8399 Importance colours added to the GUI 2019-05-12 21:54:21 +02:00
Veronica K. B. Olsen e2895ce4f7 Improved the alert to user interface, and added an enum class for severity flags. 2019-05-12 20:34:52 +02:00
Veronica K. B. Olsen fbdff8d249 Spell check can now be enabled/disabled and re-run on document 2019-05-12 16:18:37 +02:00