]> git.lyx.org Git - features.git/commit
Take in account end of paragraph marker for inset width
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 24 May 2017 12:05:06 +0000 (14:05 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 30 May 2017 09:59:35 +0000 (11:59 +0200)
commit413de12adfb82953669e0d7f3e9128a891cc6b1e
treeb23ff91009c120d753e05552c9059a2f0416a9a5
parentf3fcf18e96e96b72ab3e69ab49b12d301481065f
Take in account end of paragraph marker for inset width

When an inset wants to use the whole available width, it is necessary
to take into account that some of this width may already be taken by
the end-of-paragraph (pilcrow) marker.

Fixes bug #10537.

(cherry picked from commit 91f3b21e42c7b3b2028ec8f66460440e9ddadcbf)
src/TextMetrics.cpp
status.22x