mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
parent
99aefa5fd2
commit
79cf3f5ec1
@ -21,6 +21,7 @@
|
||||
#include "InsetSpecialChar.h"
|
||||
#include "KeyMap.h"
|
||||
#include "LaTeXFeatures.h"
|
||||
#include "Language.h"
|
||||
#include "LayoutFile.h"
|
||||
#include "Length.h"
|
||||
#include "LyXAction.h"
|
||||
@ -296,6 +297,12 @@ void InsetInfo::setText(docstring const & str)
|
||||
}
|
||||
|
||||
|
||||
bool InsetInfo::forceLTR() const
|
||||
{
|
||||
return !buffer().params().language->rightToLeft();
|
||||
}
|
||||
|
||||
|
||||
void InsetInfo::updateBuffer(ParIterator const & it, UpdateType utype) {
|
||||
// If the Buffer is a clone, then we neither need nor want to do any
|
||||
// of what follows. We want, rather, just to inherit how things were
|
||||
|
@ -125,6 +125,8 @@ public:
|
||||
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);
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user