]> 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>
Thu, 18 Jun 2020 12:39:57 +0000 (14:39 +0200)
commit99e129a7b635966a5549193f405d7d4902837466
treeb12d6bd082c282ab3b16218cf76001aac9b117ef
parent4770ebbd5c4403ce2dd40285841163fbd19d713c
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