From fea9fef1dca5fddd57715a1383fc0a4479fec6de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 24 Oct 2008 23:09:27 +0000 Subject: [PATCH] Text3.cpp: comment by Vincent git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27092 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.39.5