Not necessarily something we need to address in this PR since you're trying to follow the existing logic, but the rendered width of any \t characters isn't going to be fixed to config.tab_spaces(). It'll vary depending on where the \t is in the line.
View changes since the review
Originally posted by @ytmimi in #6902 (comment)
Not necessarily something we need to address in this PR since you're trying to follow the existing logic, but the rendered width of any
\tcharacters isn't going to be fixed toconfig.tab_spaces(). It'll vary depending on where the\tis in the line.View changes since the review
Originally posted by @ytmimi in #6902 (comment)