mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
correct shift of spell results when erasing the last character in range
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37939 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
571b779b23
commit
07ef381914
@ -112,7 +112,7 @@ public:
|
||||
if (range_.first > pos) {
|
||||
range_.first += offset;
|
||||
range_.last += offset;
|
||||
} else if (range_.last > pos) {
|
||||
} else if (range_.last >= pos) {
|
||||
range_.last += offset;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user