From: Jürgen Vigna Date: Sun, 17 Jul 2005 09:52:52 +0000 (+0000) Subject: Fixed one of problem X-Git-Tag: 1.6.10~14073 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a31c518b42ed063613d59d8c09e9f0ffa71123c2;p=features.git Fixed one of problem git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10268 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 93495cd67f..dc9cbb7a98 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-07-17 Jean-Marc Lasgouttes + + * text2.C (cursorLeft): fix one of error + 2005-07-17 Juergen Vigna * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome, diff --git a/src/text2.C b/src/text2.C index d4e7666b10..77f4699c4a 100644 --- a/src/text2.C +++ b/src/text2.C @@ -993,7 +993,7 @@ bool LyXText::checkAndActivateInset(LCursor & cur, bool front) bool LyXText::cursorLeft(LCursor & cur) { - if (!cur.boundary() && + if (!cur.boundary() && cur.pos() > 0 && cur.textRow().pos() == cur.pos() && !cur.paragraph().isLineSeparator(cur.pos()-1) && !cur.paragraph().isNewline(cur.pos()-1))