Give a layout name to math HullInset

This makes it accessible to inset-forall.

(cherry picked from commit f4a3f4f29b)
This commit is contained in:
Jean-Marc Lasgouttes 2024-09-23 19:15:20 +02:00
parent 3cab29486d
commit e78b2b4e87
3 changed files with 11 additions and 0 deletions

View File

@ -217,6 +217,12 @@ InsetMathHull & InsetMathHull::operator=(InsetMathHull const & other)
}
docstring InsetMathHull::layoutName() const
{
return "Formula:" + hullName(type_);
}
void InsetMathHull::setBuffer(Buffer & buffer)
{
InsetMathGrid::setBuffer(buffer);

View File

@ -47,6 +47,8 @@ public:
///
virtual ~InsetMathHull();
///
docstring layoutName() const override;
///
void setBuffer(Buffer &) override;
///
void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override;

View File

@ -37,6 +37,9 @@ What's new
- Fix display of superscripts on Windows (bug 13100).
- It is now possible to use inset-forall for math equations with the selector
"Formula" or "Formula:eqnarray", for example.
* DOCUMENTATION AND LOCALIZATION