Commit Graph

61 Commits

Author SHA1 Message Date
9614785302 fix buttons in dialog 2022-02-03 18:24:05 +01:00
9c28a41904 i18n with gettext 2022-02-02 19:35:57 +01:00
939c86dbe2 i18n with QT 2022-02-01 18:30:15 +01:00
f0555df0a9 switch from PyQt6 to PySide6
PySide6 uses LGPL instead of GPL, which is much nicer to work with.
2022-01-30 10:50:31 +01:00
f0c3d34995 handle character in the category 'nonspacing mark'
Those characters are ignored, because they decorate
the previous character.
2022-01-29 17:38:52 +01:00
ffea831e2d fix the way tabs are used
The previous code just assumed a tab was 4 spaces wide.
This is not true, because a tab can be between 1 and 4 spaces wide.
2021-12-21 08:15:44 +01:00
7438718190 choose font based on OS 2021-12-21 08:15:44 +01:00
9200e997fb scroll vertically when mouse is outside the text area 2021-12-03 09:05:58 +01:00
5b7ebb2f9b fix highlighting for selections 2021-12-03 09:03:34 +01:00
b3e5d535b7 fix crash when double clicking behind the last char 2021-11-26 18:43:12 +01:00
f209156eea link result view and source view 2021-11-05 19:18:24 +01:00
e04c4a2ab7 fix selection of the suffix of a line 2021-11-05 10:24:53 +01:00
a7b09a99a5 correctly highlight lines with tabs 2021-11-05 10:22:45 +01:00
8a5574e336 various fixes for windows 2021-11-02 20:29:19 +01:00
f3f47d0ce7 draw all line backgrounds first 2021-11-01 19:28:41 +01:00
44e23af54f option to open tab when saving selection as file 2021-11-01 17:53:15 +01:00
4f512225a9 add icons to actions 2021-11-01 17:06:53 +01:00
9916965792 select line on triple click 2021-11-01 15:32:24 +01:00
06ffc3826d update end of selection when using click + shift 2021-11-01 15:18:57 +01:00
f471f4785e select word on double click 2021-11-01 15:13:41 +01:00
2f1aabb379 rename 'manage highlighting' to 'highlighters' 2021-10-31 19:52:11 +01:00
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
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
aee0ff9968 add dialog to manage highlighters
- no support for "no color"
- settings not saved to disk
2021-10-30 16:25:34 +02:00
86b70f43ac ask user before creating a clipboard larger than 5 MB 2021-10-29 16:52:13 +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
bc8f9b006d store font size in settings file 2021-10-29 09:21:46 +02:00
999008e46e support files over 2 GB 2021-10-28 18:37:10 +02:00
7f96adebdf faster destruction
It takes a while to wait until the observer thread stopped.
2021-10-28 15:13:54 +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
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
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
5a4299ef84 remove tmp file when closing tab 2021-10-27 09:00:44 +02:00
f9434b4c1d prepare filtering 2021-10-26 18:51:32 +02:00
1a67925873 highlight error messages instead of info 2021-10-26 11:18:08 +02:00
3b330b2fca do not open same file twice 2021-10-26 11:05:07 +02:00
95d43e08f1 change font size 2021-10-25 19:31:28 +02:00
7002e91a35 compute between bytes and chars to get correct clipboard copy 2021-10-25 17:52:14 +02:00
b8eb62a3bf separate highlight selection from other selections
will make it easier to manage other selections externally
2021-10-25 17:26:00 +02:00
76d4dccf1d copy to clipboard for ascii text
Non ascii does not work yet. Code does not handle multi-byte characters.
2021-10-25 17:19:44 +02:00
9334fffb6f scroll horizontally when dragging a selection 2021-10-25 16:49:16 +02:00
088023e14b scroll when selection reaches top/bottom 2021-10-25 16:33:04 +02:00