#include "Buffer.h"
#include "BufferParams.h"
#include "BufferView.h"
-#include "BufferParams.h"
#include "ColorSet.h"
-#include "Counters.h"
#include "Cursor.h"
#include "DispatchResult.h"
#include "Exporter.h"
}
-Inset::DisplayType InsetNote::display() const
-{
- return Inline;
-}
-
-
void InsetNote::write(ostream & os) const
{
params_.write(os);
switch (cmd.action()) {
case LFUN_INSET_MODIFY:
- // disallow comment and greyed out in commands
- flag.setEnabled(!cur.paragraph().layout().isCommand() ||
- cmd.getArg(2) == "Note");
if (cmd.getArg(0) == "note") {
InsetNoteParams params;
string2params(to_utf8(cmd.argument()), params);
}
-docstring InsetNote::xhtml(XHTMLStream & xs, OutputParams const & rp) const
+docstring InsetNote::xhtml(XMLStream & xs, OutputParams const & rp) const
{
if (params_.type == InsetNoteParams::Note)
return docstring();
features.useInsetLayout(getLayout());
break;
case InsetNoteParams::Greyedout:
+ if (features.hasRTLLanguage())
+ features.require("environ");
InsetCollapsible::validate(features);
break;
case InsetNoteParams::Note: