mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* src/text3.C (doDispatch):
- record undo on LFUN_BREAKLINE (bug 3111). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16731 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
db71db23ce
commit
f18c730b36
@ -1,3 +1,7 @@
|
||||
2006-01-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* text3.C (doDispatch): recordUndo on LFUN_BREAKLINE (bug 3111).
|
||||
|
||||
2007-01-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* BufferView.C (mouseSetCursor): if the cursor was in an empty
|
||||
|
@ -530,6 +530,8 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
|
||||
case LFUN_BREAKLINE: {
|
||||
// Not allowed by LaTeX (labels or empty par)
|
||||
if (cur.pos() > cur.paragraph().beginOfBody()) {
|
||||
if (!cur.selection())
|
||||
recordUndo(cur);
|
||||
lyx::cap::replaceSelection(cur);
|
||||
cur.insert(new InsetNewline);
|
||||
cur.posRight();
|
||||
|
@ -182,6 +182,8 @@ What's new
|
||||
(bug 3055). This also fixes problems with older LyX files
|
||||
(bug 3066) [qt only].
|
||||
|
||||
- fix undo when inserting a line break (bug 3111).
|
||||
|
||||
* Build/installation:
|
||||
|
||||
- Allow autoconf 2.60 and 2.61 for building.
|
||||
|
Loading…
Reference in New Issue
Block a user