commit | 5d1752c5e3347eaf37d729261de111138fa0eb78 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Mon Apr 04 17:53:26 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Mon Apr 04 17:53:26 2016 +0200 |
tree | 40ae637752dd28d580e3a2f4735af733cd413a87 | |
parent | 523bc0fd4f1c6cc12bb24f7bf58cffc2392b1241 [diff] |
speller: simplify the calculation of the width of the misspelled word When finding a misspelled word, the length of the match is simply the length of that word, and its span in columns is simply the number of columns that it occupies. Compute it thus directly. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>