commit | d60e7d374ca6dc3fe9232514930126edfcdc8ebd | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Thu Feb 16 11:44:04 2017 +0100 |
committer | Benno Schulenberg <bensberg@justemail.net> | Thu Feb 16 11:52:24 2017 +0100 |
tree | d4886760c433be088af2ce00d172dadf409ce7bb | |
parent | 2358badc65419cd7f8834b3bdbd03193234d906a [diff] |
spelling: correctly adjust the length of a single-line region When the marked region covers only a single line (or a part of it), its new endpoint is not simply the length of the last line of the spell-checked text, but instead the old endpoint plus the /change/ in length. This fixes https://savannah.gnu.org/bugs/?50316. Reported-by: David Lawrence Ramsey <pooka109@gmail.com>