mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
more fixing of bug 2010
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10471 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3b6e50ea33
commit
68a101a8ae
@ -1,3 +1,8 @@
|
||||
2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* text2.C (cursorRight): do not honor boundary when at the end of
|
||||
a paragraph. (bug 2010 again)
|
||||
|
||||
2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* cursor.C (paste): do nothing if `data' is empty. (bug 2033)
|
||||
|
@ -1013,11 +1013,11 @@ bool LyXText::cursorLeft(LCursor & cur)
|
||||
|
||||
bool LyXText::cursorRight(LCursor & cur)
|
||||
{
|
||||
if (cur.boundary()) {
|
||||
return setCursor(cur, cur.pit(), cur.pos(), true, false);
|
||||
}
|
||||
|
||||
if (cur.pos() != cur.lastpos()) {
|
||||
if (cur.boundary())
|
||||
return setCursor(cur, cur.pit(), cur.pos(),
|
||||
true, false);
|
||||
|
||||
bool updateNeeded = false;
|
||||
if (!checkAndActivateInset(cur, true)) {
|
||||
if (cur.textRow().endpos() == cur.pos() + 1 &&
|
||||
|
Loading…
Reference in New Issue
Block a user