diff options
| author | Jonas Bernoulli | 2022-08-04 14:05:09 +0200 |
|---|---|---|
| committer | Jonas Bernoulli | 2022-08-04 14:05:09 +0200 |
| commit | 5fe2d3317d60411970e662d62ffc05fe5eac7319 (patch) | |
| tree | e9b0ec7261585194e5f3aa140dd8247d8df29fde /java | |
| parent | 254d6fdc2b3c993b599fc3ca29cda14bc6c0a5fb (diff) | |
| download | emacs-5fe2d3317d60411970e662d62ffc05fe5eac7319.tar.gz emacs-5fe2d3317d60411970e662d62ffc05fe5eac7319.zip | |
Fix horizontal off-by-one error
Delay increasing width used by columns until we know that we have to
do so because we have determined that there is enough room to add an
additional column and a space between the last two columns.
If we don't do that, then we can easily get an off-by-one error. If
docstrings are shown and the window is narrow, then it is likely that
we end up using the maximal width. If we then add one to the actual
width and later compare that again with the maximal width, then that
is too width.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions