]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetNote.cpp
index 920ebd82b71a3be389bcc04ba430aa0fddeec4fa..9f4c5ed1d0349b130c81a6bf214db737b183bd1a 100644 (file)
@@ -116,6 +116,12 @@ docstring InsetNote::layoutName() const
 }
 
 
+Inset::DisplayType InsetNote::display() const
+{
+       return Inline;
+}
+
+
 void InsetNote::write(ostream & os) const
 {
        params_.write(os);
@@ -306,6 +312,8 @@ void InsetNote::validate(LaTeXFeatures & features) const
                        features.useInsetLayout(getLayout());
                break;
        case InsetNoteParams::Greyedout:
+               if (features.hasRTLLanguage())
+                       features.require("environ");
                InsetCollapsible::validate(features);
                break;
        case InsetNoteParams::Note: