Files
krowlog/src
Andreas Huber d9c362419b handle tabs correctly when highlighting text
With the old solution I replaced tabs with four spaces and then did
some calculations to get the correct byte positions for a coordinate.
With the new solution (using FontMetric.horizontalAdvance) this is not
necessary anymore and we can use tha native tab.
But I cannot change the tab width. It is always 8 characters.
You can set tabStopDistance on horizontalAdvance(), but not on
elided_text() and I did not find a way to use it while rendering text.
2025-05-06 20:45:19 +02:00
..
2024-11-24 09:20:57 +01:00
2025-05-06 20:14:59 +02:00
2022-02-12 10:48:38 +01:00
2022-02-12 10:48:38 +01:00
2022-02-22 19:47:40 +01:00
2022-08-30 19:40:06 +02:00
2023-01-22 19:05:58 +01:00
2022-08-28 09:34:09 +02:00