#include "Buffer.h"
#include "BufferParams.h"
#include "FuncRequest.h"
-#include "LyXText.h"
+#include "Text.h"
#include "LyXAction.h"
#include "Paragraph.h"
#include "ParIterator.h"
ParagraphList::iterator finish = start;
ParagraphList::iterator end = pars.end();
- LyXTextClass::const_iterator lit =
- buf->params().getLyXTextClass().begin();
- LyXTextClass::const_iterator const lend =
- buf->params().getLyXTextClass().end();
+ TextClass::const_iterator lit =
+ buf->params().getTextClass().begin();
+ TextClass::const_iterator const lend =
+ buf->params().getTextClass().end();
int const thistoclevel = start->layout()->toclevel;
int toclevel;
}
case Down: {
// Go down out of current header:
- if (finish != end)
+ if (finish != end)
++finish;
// Find next same-level header:
for (; finish != end; ++finish) {