+2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * sp_spell.C: fdopen is not part of the C++ standard.
+
+ * paragraph.C (InsetIterator): use >= instead of ==
+
2002-06-07 Angus Leeming <leeming@lyx.org>
Fixes needed to compile with Compaq cxx 6.5.
* tabular-old.C:
* tabular.C:
Add a using std::abs declaration.
-
+
* kbmap.h (modifier_pair):
* paragraph.h (InsetTable, InsetList):
* lyxfont.h (FontBits):
2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* xtl/*: get rid of xtl, which is not in use anyway
-
- * LyXAction.C (init):
+
+ * LyXAction.C (init):
* commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
were unimplemented xtl experimentation
2002-06-03 John Levon <moz@compsoc.man.ac.uk>
* converter.C: constify a bit
-
+
2002-06-02 John Levon <moz@compsoc.man.ac.uk>
* lyx_gui.C: check xforms version correctly
-
+
2002-04-30 Herbert Voss <voss@lyx.org>
* buffer.C (parseSingleLyXformat2Token): fix bug with ignored
* lyxvc.C: fix bug 416 (make sure buffer is saved before
attempt to register it with a VCS)
-
+
2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyx_main.C (init): honor variables LYX_DIR_13x and
- LYX_USERDIR_13x
+ LYX_USERDIR_13x
2002-05-30 John Levon <moz@compsoc.man.ac.uk>
- * buffer.h:
+ * buffer.h:
* buffer.C:
* lyx_main.C: fix a crash on bad command line,
and give a useful exit status on error
* lyxfunc.C (doImport): allow -i lyx to work
-
+
2002-03-30 André Pönitz <poenitz@gmx.net>
- * lyxfunc.C: mathed font changes
+ * lyxfunc.C: mathed font changes
2002-05-30 John Levon <moz@compsoc.man.ac.uk>
- * LaTeX.C:
+ * LaTeX.C:
* importer.h:
* importer.C:
* lyx_sty.h:
- * lyx_sty.C:
- * lyxlex.C:
- * lyxrow.h:
- * lyxtext.h:
- * paragraph.h:
- * paragraph.C:
+ * lyx_sty.C:
+ * lyxlex.C:
+ * lyxrow.h:
+ * lyxtext.h:
+ * paragraph.h:
+ * paragraph.C:
* texrow.h:
- * texrow.C:
+ * texrow.C:
* text.C:
* trans_mgr.h: srcdocs, and some minor cleanups
-
+
2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
#include "LString.h"
#include "undo.h"
#include "support/limited_stack.h"
-
+
#include "lyxvc.h"
#include "bufferparams.h"
#include "texrow.h"
#include "paragraph.h"
#include <boost/shared_ptr.hpp>
-
+
class BufferView;
class LyXRC;
class TeXErrors;
/// Does this mean that this is buffer local?
limited_stack<boost::shared_ptr<Undo> > undostack;
-
- /// Does this mean that this is buffer local?
+
+ /// Does this mean that this is buffer local?
limited_stack<boost::shared_ptr<Undo> > redostack;
-
+
///
BufferParams params;
// Noindent?
if (params().noindent())
os << "\\noindent ";
-
+
// Do we have a manual left indent?
if (!params().leftIndent().zero())
os << "\\leftindent " << params().leftIndent().asString() << " ";
-
+
// Alignment?
if (params().align() != LYX_ALIGN_LAYOUT) {
int h = 0;
}
bool isempty = (textclasslist[bparams.textclass][layout()].keepempty &&
- !size());
+ !size());
if (!isempty && (size() > pos || !size() || flag == 2)) {
tmp->layout(layout());
tmp->params().align(params().align());
InsetList::iterator it = insetlist.begin();
InsetList::iterator end = insetlist.end();
for (; it != end; ++it) {
- if (it->pos == pos)
+ if (it->pos >= pos)
break;
}
}
if (moving_arg)
os << "\\protect ";
-
+
os << "\\\\\n";
}
texrow.newline();
texrow.newline();
}
}
-
+
bool leftindent_open = false;
if (!params().leftIndent().zero()) {
os << "\\begin{LyXParagraphLeftIndent}{" <<
os << "\\end{LyXParagraphLeftIndent}\n";
texrow.newline();
}
-
+
lyxerr[Debug::LATEX] << "TeXEnvironment...done " << par << endl;
return par; // ale970302
}
// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+/**
+ * \file paragraph.h
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 2002 the LyX Team
+ * Read the file COPYING
+ */
#ifndef PARAGRAPH_H
#define PARAGRAPH_H
inset_iterator inset_iterator_begin();
///
inset_iterator inset_iterator_end();
- ///
+ /// returns inset iterator of the first inset at or after pos.
inset_iterator InsetIterator(lyx::pos_type pos);
private: