From: Uwe Stöhr Date: Fri, 24 Oct 2008 23:09:27 +0000 (+0000) Subject: Text3.cpp: comment by Vincent X-Git-Tag: 1.6.10~2868 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fea9fef1dca5fddd57715a1383fc0a4479fec6de;p=lyx.git Text3.cpp: comment by Vincent git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27092 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text3.cpp b/src/Text3.cpp index a5fda1f957..2d7b15659c 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1414,6 +1414,9 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) doInsertInset(cur, this, cmd, true, true); cur.posForward(); + // If some text is moved into the inset, doInsertInset + // puts the cursor outside the inset. To insert the + // caption we put it back into the inset. if (content) cur.backwardPos();