diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-27 22:05:01 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-27 22:24:26 +0100 |
commit | c61db0e0d69c8df4cd2309ce8b9a40b5a82a84d9 (patch) | |
tree | 009a4b4f84188acccf9959030a4d8a373ee31e4e /doc | |
parent | 869c65a02e04db05e83f21cc77fe45e4f8e95513 (diff) | |
download | chawan-c61db0e0d69c8df4cd2309ce8b9a40b5a82a84d9.tar.gz |
Fix tab size bug on double tabs
It is in fact quite simple to calculate: charwidth is the width of printing characters until now, and whitespacenum the number of (non-flushed) spaces. So we just have to subtract this from the target width to get the number of spaces missing from the next tab stop. (Of course, it gets much harder to understand when the whole thing is formatted as a convoluted multi-line equation...)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions