#include "InsetSpecialChar.h"
#include "KeyMap.h"
#include "LaTeXFeatures.h"
+#include "Language.h"
#include "LayoutFile.h"
#include "Length.h"
#include "LyXAction.h"
}
+bool InsetInfo::forceLTR() const
+{
+ return !buffer().params().language->rightToLeft();
+}
+
+
void InsetInfo::updateInfo()
{
BufferParams const & bp = buffer().params();
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
+ /// Force inset into LTR environment if surroundings are RTL
+ bool forceLTR() const;
///
void setInfo(std::string const & info);
/// update info_ and text