]> git.lyx.org Git - lyx.git/blobdiff - src/text_funcs.C
move some selection related stuff over to textcursor.C
[lyx.git] / src / text_funcs.C
index a958ef72b4d0033063b9d37aa23d1b8c7476e1b9..a5f4daf6fe913ec3e67a1a7047507de2664559f9 100644 (file)
@@ -27,7 +27,7 @@ void transposeChars(LyXText & text, LyXCursor const & cursor)
 {
        ParagraphList::iterator tmppit = cursor.par();
 
-       setUndo(text.bv(), Undo::FINISH, tmppit, boost::next(tmppit));
+       setUndo(text.bv(), Undo::FINISH, tmppit);
 
        pos_type tmppos = cursor.pos();