}
+bool Paragraph::isHfill(pos_type pos) const
+{
+ return isInset(pos)
+ && getInset(pos)->lyxCode() == HFILL_CODE;
+}
+
+
bool Paragraph::isNewline(pos_type pos) const
{
return isInset(pos)
#include "InsetList.h"
#include "lyxlayout_ptr_fwd.h"
-#include "insets/Inset.h" // only for InsetCode
+#include "insets/InsetCode.h"
namespace lyx {
}
///
- bool isHfill(pos_type pos) const {
- return isInset(pos)
- && getInset(pos)->lyxCode() == HFILL_CODE;
- }
+ bool isHfill(pos_type pos) const;
+
/// hinted by profiler
bool isInset(pos_type pos) const {
return getChar(pos) == static_cast<value_type>(META_INSET);
class Inset;
class Color_color;
class Cursor;
+class Lexer;
class PainterInfo;
class Spacing;