d9c362419b
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.