#include "Buffer.h"
#include "InsetList.h"
#include "Paragraph.h"
+#include "LyXRC.h"
#include "Text.h"
#include "mathed/MathData.h"
#include "support/debug.h"
#include "support/lassert.h"
+#include "support/lstrings.h"
#include <ostream>
using namespace std;
+using namespace lyx::support;
namespace lyx {
// FIXME: the check for asInsetMath() shouldn't be necessary
// but math insets do not return a sensible editable() state yet.
if (nextinset && !nextinset->asInsetMath()
- && nextinset->editable() != Inset::HIGHLY_EDITABLE) {
+ && !nextinset->editable()) {
++top().pos();
return;
}
}
+bool isLetter(DocIterator const & dit)
+{
+ return dit.inTexted() && dit.paragraph().isLetter(dit.pos());
+}
+
} // namespace lyx