8ce0c1bf9e
switch direction of the range start/end icons
...
With the old direction they were overlapping each other,
which made it impossible to move the end slider.
2025-03-24 20:07:35 +01:00
9902be0a48
feature: follow the file and show always the end when new data comes
2025-03-24 19:20:49 +01:00
61132d242f
fix: graphemes are not correctly highlighted
...
Graphemes don't all have the same width, not even when you use a monospace font.
For latin characters it usually works find to assume the same width. But emojis,
japanese or chinese characters have have different width. There are even some
ultra wide characters like 𒐫 or ﷽. There is also a thing
called 'half-width' character. E.g. the japanese 'a' can be ア or ア.
Fixed by actually computing the width of graphemes and using pixel.
2025-03-24 17:49:27 +01:00
9c64acf77e
the same line cache was used for the file view and the filter view
2024-06-30 08:24:28 +02:00
329775fb26
call update instead of repaint
...
repaint causes an endless loop on windows and crashes the app
2024-05-13 18:03:59 +02:00
be53c209ea
cache lines to speed up rendering
2024-04-23 10:28:44 +02:00
aa2bfa967e
style fixes
2024-04-22 17:52:15 +02:00
2b91b19ef3
fix test test_column_to_char_ignore_nonspacing_mark_charaters
2024-04-22 17:51:12 +02:00
9c1b8298be
implement snap back
...
Only works on Windows. In Linux this is disabled.
2024-04-21 17:37:35 +02:00
811e3c7f82
cleanup
2024-04-21 17:30:19 +02:00
6d7accffde
remove unused import for glob
2024-04-14 20:58:27 +02:00
3e793596c2
replace ScaledScrollBar with BigScrollBar
...
step 4 - add repeat actions
This has probably a problem. The repeat action is triggering updates asynchronously.
Which means we do not wait until it is done. Which means we can DOS ourselves.
2024-04-14 19:12:37 +02:00
7a574f7ed4
fix typo in word minimun
2024-04-14 09:37:52 +02:00
7d20bae74d
replace ScaledScrollBar with BigScrollBar
...
step 3 - connect wheel event
2024-04-14 09:36:50 +02:00
9b9399f120
replace ScaledScrollBar with BigScrollBar
...
step 2 - connect the line up/down, page up/down events
2024-04-14 09:13:06 +02:00
3d6cf84cd7
replace ScaledScrollBar with BigScrollBar
...
step 1 - manually moving the slider
2024-04-13 08:47:36 +02:00
2b65e61e43
remove follow tail
2024-04-11 19:06:56 +02:00
6538e85f37
add positions of hits to the range slider
2024-03-28 20:21:07 +01:00
7f4f6ab004
use folder of the original file in "copy to file" action
2024-03-26 18:17:52 +01:00
b8b4b4e790
make the original file name known to the filter view
2024-03-26 18:12:42 +01:00
66d6a728cc
make it possible to activate highlighter only for specific file types
...
In stage 1 we use a glob pattern matching the file name.
Stage 2 (which I will maybe implement some day) might use some additional magic byte sequence for file type detection.
2024-03-25 19:23:24 +01:00
56189f4094
use transparent line background by default
2024-03-25 18:40:03 +01:00
5f30862a83
keep position on handle
2024-03-24 20:06:00 +01:00
017a51a24a
remove code for drawing ticks
2024-03-24 19:59:38 +01:00
442d3173c8
don't show context menu entries for ranges when range slider is disabled
2024-03-24 16:46:15 +01:00
f3a68d0dee
add context menu actions to set range start and end
2024-03-24 12:06:48 +01:00
ff3d3ddc27
simplified ScaledScrollbar to (hopefully) fix the issue that the scrollbar became invalid for huge files when used in tandem with the range slider
2024-03-23 17:31:28 +01:00
741454e6f7
remove obsolete method
2024-03-22 15:58:23 +01:00
03d615bff0
add shortcut für "copy selection to file"
2024-03-21 19:41:27 +01:00
20d8bbfe3e
time delta for time diff view is changeable
2023-05-28 10:48:32 +02:00
707aaf7323
fix select all
...
Got broken when the range slider was added.
Select all did not select the last 4kb.
2023-02-17 20:16:18 +01:00
df78576f8e
use icon from theme if available
2023-02-16 19:28:22 +01:00
82c74e48b5
add fallback icon for color chooser
2023-01-30 18:58:24 +01:00
ab74d11827
add fallback icons
2023-01-30 18:58:01 +01:00
3dcdbdf2d5
skip update of big text if file was not modified
2023-01-29 10:36:56 +01:00
3c47db1d98
clear status bar when removing selection
2023-01-29 09:35:40 +01:00
ee514dc305
add support for regex groups
...
If a filter regex contains groups, then we only highlight the group matches.
2023-01-29 09:26:04 +01:00
d47949fdca
show how many bytes are selected
2023-01-28 18:52:24 +01:00
ee181fb8fc
add icons for list modifications
2023-01-26 20:00:50 +01:00
07a6ec69fa
make it possible to disable highlighters
2023-01-26 19:31:33 +01:00
1901747d91
reduce padding around color button
...
other form elements don't have that padding
2023-01-23 19:37:07 +01:00
b393e4e850
support custom colors in constructor
2023-01-23 19:27:20 +01:00
04377ca956
remove old highlightingdialog
2023-01-22 19:05:58 +01:00
e8fe759f70
add new highlight dialog
2023-01-22 18:53:38 +01:00
bdac446d51
fix not all characters shown when line contains tabs
2023-01-21 09:47:33 +01:00
49048f5820
fix some tests after renaming method
2023-01-21 09:42:48 +01:00
d17c0a56f9
add missing return types
2023-01-21 09:42:31 +01:00
209ad71235
don't use anti aliasing for horizontal line when drawing handle
2022-12-19 16:18:39 +01:00
493649dad5
skip highlighter when query is empty
2022-12-18 19:57:45 +01:00
addca937c5
only draw visible highlight
2022-12-18 19:37:36 +01:00