Commit Graph

328 Commits

Author SHA1 Message Date
f1b0bf4981 add context menu 2021-10-31 19:01:26 +01:00
9fb8a45ef7 save highlighters
remove user config (not needed)
2021-10-31 18:05:10 +01:00
3d80640609 show file size and name in status bar 2021-10-31 17:55:00 +01:00
e7cbe15292 we probably don't need this lock 2021-10-31 15:17:57 +01:00
572d95a151 fix indentation of copy to clipboard 2021-10-31 13:56:18 +01:00
bb99fb2c58 partially fix scrolling in files > 2 GB 2021-10-31 13:53:17 +01:00
79f9219e9a save selection to file if above threshold 2021-10-31 12:30:26 +01:00
86de0b9830 new and improved color palette 2021-10-31 09:50:39 +01:00
a18f09b5f3 fix method name 2021-10-31 09:50:22 +01:00
59a4173929 use QSettings to store window geometry 2021-10-31 07:52:13 +01:00
87eb0a9bf1 add shortcuts for menu items 2021-10-30 21:05:14 +02:00
6e35971263 tiny improvements to the color palette 2021-10-30 20:59:58 +02:00
2826b93432 color button with drop down 2021-10-30 20:28:19 +02:00
f3f700f737 check if form is dirty 2021-10-30 16:43:27 +02:00
aee0ff9968 add dialog to manage highlighters
- no support for "no color"
- settings not saved to disk
2021-10-30 16:25:34 +02:00
43e85d2863 remove file name from window title after closing the last file 2021-10-30 09:56:22 +02:00
5b95c328d5 open files after the window has been opened
this way we can update the window title
2021-10-30 09:55:57 +02:00
f8483c242d update qt to 6.2.1 2021-10-30 09:46:46 +02:00
c33fd9b2b7 cleanup 2021-10-29 16:52:33 +02:00
86b70f43ac ask user before creating a clipboard larger than 5 MB 2021-10-29 16:52:13 +02:00
fbd378cbf4 open file dialog in folder of currently open file 2021-10-29 14:27:45 +02:00
029d60fc77 trying out another icon 2021-10-29 12:38:56 +02:00
d4db320e17 read highlighters from settings.ini 2021-10-29 11:53:47 +02:00
5b9db22f39 open files by drag&drop 2021-10-29 11:02:38 +02:00
6653f2ae89 recent file menu 2021-10-29 10:36:50 +02:00
4c00dfed50 keep track of recent files 2021-10-29 10:09:49 +02:00
4f50fd03a4 more font_size to a new config file for session data
We need config and session data.
config is what the user changes. Only read by the app.
session is what the app remembers. Read and written by the app.
2021-10-29 09:53:53 +02:00
99d9be795b set window title to file name 2021-10-29 09:32:08 +02:00
bc8f9b006d store font size in settings file 2021-10-29 09:21:46 +02:00
74e89ff78b add icon to about dialog 2021-10-28 19:58:54 +02:00
999008e46e support files over 2 GB 2021-10-28 18:37:10 +02:00
ee338c45ad add application icon 2021-10-28 17:48:05 +02:00
7f96adebdf faster destruction
It takes a while to wait until the observer thread stopped.
2021-10-28 15:13:54 +02:00
8bab40e2ec about dialog 2021-10-28 12:22:06 +02:00
0326013cbc use transparent color for selection highlight
other highlighting is still visible
2021-10-28 10:27:39 +02:00
cdd382858a highlight matches 2021-10-28 10:22:15 +02:00
dbfe0bebf8 move highlights to model
makes it easier to manage highlights
2021-10-28 09:52:00 +02:00
a0e6c24098 reset search hits when entering empty or invalid query 2021-10-28 09:48:38 +02:00
02f1ce3af9 move font size update to settings class 2021-10-28 09:44:44 +02:00
f42ff06ce8 use wheel + ctrl to change font size 2021-10-28 09:40:40 +02:00
ce840819b2 try to fix ui freeze when filtering huge files 2021-10-28 08:45:24 +02:00
e426b816ef add cancel button 2021-10-27 19:16:57 +02:00
851805118d support ctrl + a 2021-10-27 18:48:42 +02:00
b61f00ca02 explain the sleep 2021-10-27 18:45:15 +02:00
3319ae4876 watch for file changes 2021-10-27 18:42:48 +02:00
4a01c629ce remove tmp file when closing app with signal sigterm or sigint 2021-10-27 15:07:23 +02:00
6a8f01d064 remove tmp file when closing the window 2021-10-27 09:27:14 +02:00
8cfa518d93 remove tmp file when closing with menu action 2021-10-27 09:11:25 +02:00
5a4299ef84 remove tmp file when closing tab 2021-10-27 09:00:44 +02:00
1d8cd3dce5 support ignore case and regex filters 2021-10-27 08:44:20 +02:00