]> git.lyx.org Git - features.git/commitdiff
ws changes
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 26 Mar 2003 16:15:02 +0000 (16:15 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 26 Mar 2003 16:15:02 +0000 (16:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6589 a592a061-630c-0410-9148-cb99ea01b6c8

src/text.C
src/text2.C

index 0e92f781084e2aa5d61f52b496ea7325e8c8b2b1..494fcf18f0feef2ea0458544466a02b7a14a5229 100644 (file)
@@ -300,7 +300,7 @@ int LyXText::singleWidth(Paragraph * par,
 }
 
 
-lyx::pos_type LyXText::log2vis(lyx::pos_type pos) const 
+lyx::pos_type LyXText::log2vis(lyx::pos_type pos) const
 {
        if (bidi_start == -1)
                return pos;
@@ -309,7 +309,7 @@ lyx::pos_type LyXText::log2vis(lyx::pos_type pos) const
 }
 
 
-lyx::pos_type LyXText::vis2log(lyx::pos_type pos) const 
+lyx::pos_type LyXText::vis2log(lyx::pos_type pos) const
 {
        if (bidi_start == -1)
                return pos;
@@ -318,7 +318,7 @@ lyx::pos_type LyXText::vis2log(lyx::pos_type pos) const
 }
 
 
-lyx::pos_type LyXText::bidi_level(lyx::pos_type pos) const 
+lyx::pos_type LyXText::bidi_level(lyx::pos_type pos) const
 {
        if (bidi_start == -1)
                return 0;
@@ -327,7 +327,7 @@ lyx::pos_type LyXText::bidi_level(lyx::pos_type pos) const
 }
 
 
-bool LyXText::bidi_InRange(lyx::pos_type pos) const 
+bool LyXText::bidi_InRange(lyx::pos_type pos) const
 {
        return bidi_start == -1 ||
                (bidi_start <= pos && pos <= bidi_end);
index 30c3c250518bf2f3631c03d85357e0848e99c58a..71f115b40b82eb120a75b2057582a728910d2204 100644 (file)
@@ -1792,7 +1792,7 @@ void LyXText::setCursor(LyXCursor & cur, Paragraph * par,
                cur.ix(cur.x());
        //if the cursor is in a visible row, anchor to it
        int topy = top_y();
-       if (topy < y && y < topy + bv()->workHeight()) 
+       if (topy < y && y < topy + bv()->workHeight())
                anchor_row(row);
 }