]> git.lyx.org Git - features.git/commitdiff
ws changes only
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 24 Apr 2002 15:37:16 +0000 (15:37 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 24 Apr 2002 15:37:16 +0000 (15:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4056 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView_pimpl.C
src/text.C

index 043a1410d29bf335f7569640f46d949d0aff18bb..be52aba916c1ab1bdff9285a705b5e9afbf1b343 100644 (file)
@@ -1292,7 +1292,7 @@ void BufferView::Pimpl::cursorNext(LyXText * text)
                // span several workarea-heights) we'll move to the top again, but this
                // is better than just jump down and only display part of the row.
                new_y = bv_->text->first_y + workarea_.height();
-       } else {                
+       } else {
                if (text->inset_owner) {
                        new_y = bv_->text->cursor.iy()
                                + bv_->theLockingInset()->insetInInsetY()
index 217398f890a7b39ae556b028f6b2fefa8544aeec..54c013c0c005d8e18993c0d8ee604f4c60844d1b 100644 (file)
@@ -1159,7 +1159,7 @@ int LyXText::numberOfSeparators(Buffer const * buf, Row const * row) const
 {
        pos_type last = rowLastPrintable(row);
        pos_type p = max(row->pos(), beginningOfMainBody(buf, row->par()));
-               
+
        int n = 0;
        for (; p <= last; ++p) {
                if (row->par()->isSeparator(p)) {
@@ -1955,10 +1955,10 @@ void LyXText::insertChar(BufferView * bview, char c)
        // Is there a break one row above
        if (row->previous() && row->previous()->par() == row->par()
            && (cursor.par()->isLineSeparator(cursor.pos())
-               || cursor.par()->isNewline(cursor.pos())
-               || ((cursor.pos() < cursor.par()->size()) &&
-                   cursor.par()->isInset(cursor.pos()+1))
-               || cursor.row()->fill() == -1))
+               || cursor.par()->isNewline(cursor.pos())
+               || ((cursor.pos() < cursor.par()->size()) &&
+                   cursor.par()->isInset(cursor.pos()+1))
+               || cursor.row()->fill() == -1))
        {
                pos_type z = nextBreakPoint(bview,
                                                           row->previous(),