]> git.lyx.org Git - lyx.git/blobdiff - src/cursor.C
* Replace all use of 'slashify_path' with 'internal_path'.
[lyx.git] / src / cursor.C
index 06954bc17399ec5a6d1716d0b64bd9fa646fb931..83d42e8d0e71dda7150da56ad631baf93fdc794f 100644 (file)
@@ -124,7 +124,7 @@ namespace {
                CursorSlice bottom = cursor[0];
                LyXText * text = bottom.text();
                BOOST_ASSERT(text);
-               
+
                DocIterator it = doc_iterator_begin(bottom.inset());
                DocIterator const et = doc_iterator_end(bottom.inset());
 
@@ -165,7 +165,7 @@ namespace {
 } // namespace anon
 
 
-// be careful: this is called from the bv's constructor, too, so 
+// be careful: this is called from the bv's constructor, too, so
 // bv functions are not yet available!
 LCursor::LCursor(BufferView & bv)
        : DocIterator(), bv_(&bv), anchor_(), x_target_(-1),
@@ -980,10 +980,6 @@ bool LCursor::goUpDown(bool up)
                }
        }
 
-       // try current cell for e.g. text insets
-       if (inset().idxUpDown2(*this, up))
-               return true;
-
        //xarray().boundingBox(xlow, xhigh, ylow, yhigh);
        //if (up)
        //      yhigh = yo - 4;