|
|
4ac9fdf13a
|
fix corner case
|
2022-01-29 19:49:16 +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 |
|
|
|
ba241b12e0
|
use cache to store char-to-column mapping
This is faster by O(n) to O(n²) compared to the previous algorithm
that would re-compute the column for each call.
|
2021-12-21 08:15:44 +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 |
|
|
|
a7b09a99a5
|
correctly highlight lines with tabs
|
2021-11-05 10:22:45 +01:00 |
|
|
|
7002e91a35
|
compute between bytes and chars to get correct clipboard copy
|
2021-10-25 17:52:14 +02:00 |
|
|
|
603b748180
|
more tests for scrolling
|
2021-10-25 16:20:30 +02:00 |
|
|
|
80741a7249
|
fix computation of text width
|
2021-10-24 16:35:27 +02:00 |
|
|
|
3390ccf261
|
selection by mouse
|
2021-10-24 15:11:03 +02:00 |
|
|
|
58e3983e49
|
initial commit
|
2021-10-24 12:47:46 +02:00 |
|