]> git.lyx.org Git - features.git/commit
Fix DEPM at end of paragraph
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 30 Jan 2019 22:50:53 +0000 (23:50 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 30 Jan 2019 22:50:53 +0000 (23:50 +0100)
commitc00234503f9e07795723222e6095c022e45ad1dd
tree8522edee9f4daae886a05cd1074f0a6477c58be8
parent7e120159fc7e92584ee581996bc2048068418d0d
Fix DEPM at end of paragraph

Remove special handling of spaces at end of paragraph. Now they are
handled like interword spaces by both DEPM methods.

Fix off-by-one error in loop when testing for end of paragraph.

Style: use Dociterator::lastpos() instead of Paragraph::size().

Part of bug #11412.
src/Text2.cpp