mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* src/text.C (bool LyXText::backspace):
don't try to go to previous par when in first par (fix crash in change tracking mode). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13493 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1333a74909
commit
6a8475c331
@ -1,3 +1,8 @@
|
||||
2006-03-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* text.C (backspace): don't try to go to previous par when in
|
||||
first par (fix crash in change tracking mode).
|
||||
|
||||
2006-03-23 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* output_latex.h:
|
||||
|
@ -1681,7 +1681,7 @@ bool LyXText::backspace(LCursor & cur)
|
||||
// the the backspace will collapse two paragraphs into
|
||||
// one.
|
||||
|
||||
if (cur.buffer().params().tracking_changes) {
|
||||
if (cur.pit() != 0 && cur.buffer().params().tracking_changes) {
|
||||
// Previous paragraph, mark "carriage return" as
|
||||
// deleted:
|
||||
Paragraph & par = pars_[cur.pit() - 1];
|
||||
|
Loading…
Reference in New Issue
Block a user