mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fixed one of problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10268 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a250929930
commit
a31c518b42
@ -1,3 +1,7 @@
|
||||
2005-07-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* text2.C (cursorLeft): fix one of error
|
||||
|
||||
2005-07-17 Juergen Vigna <jug@lyx.org>
|
||||
|
||||
* text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user