#include "lfuns.h"
#include "LyXFunc.h"
#include "LyXRC.h"
-#include "LyXText.h"
+#include "Text.h"
#include "TextClassList.h"
#include "Paragraph.h"
#include "paragraph_funcs.h"
}
// do not copy text (also nested in insets) which is marked as deleted
- // acceptChanges() is defined for LyXText rather than ParagraphList
- // Thus we must wrap copy_pars into a LyXText object and cross our fingers
- LyXText lt;
+ // acceptChanges() is defined for Text rather than ParagraphList
+ // Thus we must wrap copy_pars into a Text object and cross our fingers
+ Text lt;
copy_pars.swap(lt.paragraphs());
lt.acceptChanges(buf.params());
copy_pars.swap(lt.paragraphs());
// and cur.selEnd()
if (cur.inTexted()) {
- LyXText * text = cur.text();
+ Text * text = cur.text();
BOOST_ASSERT(text);
// make sure that the depth behind the selection are restored, too
return;
if (cur.inTexted()) {
- LyXText * text = cur.text();
+ Text * text = cur.text();
BOOST_ASSERT(text);
// ok we have a selection. This is always between cur.selBegin()
// and sel_end cursor
textclass_type textclass, ErrorList & errorList)
{
if (cur.inTexted()) {
- LyXText * text = cur.text();
+ Text * text = cur.text();
BOOST_ASSERT(text);
pit_type endpit;