]> git.lyx.org Git - lyx.git/commitdiff
cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Thu, 1 Apr 2004 10:21:29 +0000 (10:21 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 1 Apr 2004 10:21:29 +0000 (10:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8584 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insetert.C
src/mathed/formulamacro.h
src/pariterator.C

index 40e8a94fa86a82e0aa8b78c8c43208e4e81d0ba5..cddd553b4803f838396b77bfe41a18b7dd42197f 100644 (file)
@@ -200,7 +200,7 @@ int InsetERT::docbook(Buffer const &, ostream & os,
                ++par;
                if (par != end) {
                        os << "\n";
-                       lines ++;
+                       ++lines;
                }
        }
 
index 533f109a7cb700371fad3e7ae4c5387ffaf1a130..f55fdbffba71250194a14f4c8aba25846801d409 100644 (file)
@@ -57,6 +57,10 @@ public:
        std::auto_ptr<InsetBase> clone() const;
        ///
        InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
+       ///
+       std::string const & getInsetName() const { return name_; }
+       ///
+       EDITABLE editable() const { return HIGHLY_EDITABLE; }
 private:
        ///
        MathAtom & tmpl() const;
index efb94c14ead80409cfba8491f8c1ad59534eb05c..217a64a4d93d767df793fa323bf93a8e66a37a3d 100644 (file)
@@ -8,10 +8,8 @@
  * Full author contact details are available in file CREDITS.
  */
 
-
 #include <config.h>
 
-
 #include "pariterator.h"
 
 #include "ParagraphList_fwd.h"
@@ -22,6 +20,7 @@
 
 using lyx::par_type;
 
+
 ///
 /// ParIterator
 ///
@@ -56,6 +55,7 @@ ParIterator & ParIterator::operator++()
 
 ParIterator & ParIterator::operator--()
 {
+#warning look here
 //     DocIterator::backwardPar();
        return *this;
 }
@@ -102,14 +102,16 @@ bool operator!=(ParIterator const & iter1, ParIterator const & iter2)
        return !(iter1 == iter2);
 }
 
-DocIterator
-makeDocIterator(ParIterator const & par, lyx::pos_type pos)
+
+DocIterator makeDocIterator(ParIterator const & par, lyx::pos_type pos)
 {
        DocIterator dit(par);
        dit.pos() = pos;
        return dit;
 }
 
+
+
 ///
 /// ParConstIterator
 ///