From: André Pönitz Date: Fri, 15 Aug 2003 13:20:45 +0000 (+0000) Subject: re-enable DEPM for setCursorFromCoordinate X-Git-Tag: 1.6.10~16279 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f48ccf964140f8f02932bf24c6ea850910667590;p=features.git re-enable DEPM for setCursorFromCoordinate git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7556 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/text2.C b/src/text2.C index 74219602a0..681a8eaec7 100644 --- a/src/text2.C +++ b/src/text2.C @@ -1630,11 +1630,10 @@ pos_type LyXText::getColumnNearX(ParagraphList::iterator pit, void LyXText::setCursorFromCoordinates(int x, int y) { - //LyXCursor old_cursor = cursor; + LyXCursor old_cursor = cursor; setCursorFromCoordinates(cursor, x, y); setCurrentFont(); -#warning DEPM disabled, otherwise crash when entering new table - //deleteEmptyParagraphMechanism(old_cursor); + deleteEmptyParagraphMechanism(old_cursor); }