mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* insettabular.C (cutSelection): reset cursor when it is invalid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15087 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d3911d32d
commit
a84c402884
@ -1,3 +1,7 @@
|
||||
2006-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* insettabular.C (cutSelection): reset cursor when it is invalid.
|
||||
|
||||
2006-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* insetert.C (doDispatch):
|
||||
|
@ -1757,7 +1757,10 @@ void InsetTabular::cutSelection(LCursor & cur)
|
||||
}
|
||||
|
||||
// cursor position might be invalid now
|
||||
cur.pos() = cur.lastpos();
|
||||
if (cur.pit() > cur.lastpit())
|
||||
cur.pit() = cur.lastpit();
|
||||
if (cur.pos() > cur.lastpos())
|
||||
cur.pos() = cur.lastpos();
|
||||
cur.clearSelection();
|
||||
}
|
||||
|
||||
|
@ -90,6 +90,8 @@ What's new
|
||||
|
||||
- Fix a crash with change tracking in tables (bug 2600).
|
||||
|
||||
- Fix a crash when deleting a multi-cell selection in a tabular.
|
||||
|
||||
- Fix a crash when undoing super/subscript deletion (bug 2727).
|
||||
|
||||
- Fix a crash when the cursor is in an empty script and the user
|
||||
|
Loading…
x
Reference in New Issue
Block a user