honour requirements for dots (bug 5376).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26947 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-10-18 14:15:56 +00:00
parent 8a916f28a9
commit 30a777e8a8
3 changed files with 15 additions and 5 deletions

View File

@ -33,11 +33,11 @@ widetilde decoration none
dots dots none
cdots dots none
ddots dots none
dotsb dots none
dotsc dots none
dotsi dots none
dotsm dots none
dotso dots none
dotsb dots none amsmath
dotsc dots none amsmath
dotsi dots none amsmath
dotsm dots none amsmath
dotso dots none amsmath
ldots dots none
vdots dots none

View File

@ -13,6 +13,7 @@
#include "InsetMathDots.h"
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "MathParser.h"
@ -73,4 +74,11 @@ docstring InsetMathDots::name() const
}
void InsetMathDots::validate(LaTeXFeatures & features) const
{
if (!key_->requires.empty())
features.require(to_utf8(key_->requires));
}
} // namespace lyx

View File

@ -30,6 +30,8 @@ public:
void draw(PainterInfo & pi, int x, int y) const;
///
docstring name() const;
/// request "external features"
void validate(LaTeXFeatures & features) const;
protected:
/// cache for the thing's height
mutable int dh_;