Open lucaswerkmeister opened 10 years ago
Actually… that doesn’t make much sense. The only tokens that could contain tabs are string literals, and even there’s it’s probably extremely uncommon.
Of course, the line can start indented with tabs, but that’s not something that DefaultLineBreaks
has to worry about.
To clarify, the tabs at the start of the line (indentation) are already accounted for. With this in mind, I’ll say that for now, this issue isn’t worth the trouble (and increase in running time), and remove the “bug” tag and the milestone.
The
DefaultLineBreaks
should definitely count tabs as the correct amount of columns. The width of a tab can be retrieved fromoptions.indentMode
, or should default to4
in the case ofSpaces
.