]> git.lyx.org Git - features.git/blobdiff - src/TextMetrics.cpp
Getting rid of LTR bias --- part 3/4
[features.git] / src / TextMetrics.cpp
index 1e317ba6e555590454773dc6c8768a12cabd6f26..6efe804f0b8fc2fd31ea0f426c9ebc73af6cb0a4 100644 (file)
@@ -369,11 +369,11 @@ bool TextMetrics::redoParagraph(pit_type const pit)
        // when layout is set; when material is pasted.
        int const moveCursor = par.checkBiblio(buffer.params().trackChanges);
        if (moveCursor > 0)
-               const_cast<Cursor &>(bv_->cursor()).posRight();
+               const_cast<Cursor &>(bv_->cursor()).posForward();
        else if (moveCursor < 0) {
                Cursor & cursor = const_cast<Cursor &>(bv_->cursor());
                if (cursor.pos() >= -moveCursor)
-                       cursor.posLeft();
+                       cursor.posBackward();
        }
 
        // Optimisation: this is used in the next two loops