]> git.lyx.org Git - features.git/commit
Show properly on screen "indented" maths.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 11 Apr 2017 11:03:34 +0000 (13:03 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 May 2017 12:46:05 +0000 (14:46 +0200)
commitfa2dcd37a2ce34a7202477cc529f0055557d2503
tree92bc0163fe4019dfc31a83ae0286353f1f88aee2
parent5ef057b42e727ca5e6780aa05b73098c2a15e2eb
Show properly on screen "indented" maths.

This is done by two things:
1/ the equation returns LefAlign as display() value

2/ Inset::indent() return a value (in general 0) that should be added
   on the left (or right in rtl) of the inset when it is flushed.

The code that uses these values is in TextMetrics::computeRowMetrics.
src/TextMetrics.cpp
src/insets/Inset.h
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathHull.h