mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 02:28:19 +00:00
fix loading of large files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@3063 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
14bde8af50
commit
0068d4597f
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* src/text2.C (RemoveRow):
|
||||||
|
* src/text.C (SetHeightOfRow): remove bogus call to GetRow.
|
||||||
|
|
||||||
2001-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2001-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* lib/examples/it_splash.lyx: update from Claudio Coco
|
* lib/examples/it_splash.lyx: update from Claudio Coco
|
||||||
|
@ -1301,11 +1301,6 @@ void LyXText::SetHeightOfRow(BufferView * bview, Row * row_ptr) const
|
|||||||
LyXFont tmpfont;
|
LyXFont tmpfont;
|
||||||
Inset * tmpinset = 0;
|
Inset * tmpinset = 0;
|
||||||
|
|
||||||
/* this must not happen before the currentrow for clear reasons.
|
|
||||||
so the trick is just to set the current row onto this row */
|
|
||||||
int unused_y;
|
|
||||||
GetRow(row_ptr->par(), row_ptr->pos(), unused_y);
|
|
||||||
|
|
||||||
/* ok , let us initialize the maxasc and maxdesc value.
|
/* ok , let us initialize the maxasc and maxdesc value.
|
||||||
* This depends in LaTeX of the font of the last character
|
* This depends in LaTeX of the font of the last character
|
||||||
* in the paragraph. The hack below is necessary because
|
* in the paragraph. The hack below is necessary because
|
||||||
|
@ -343,12 +343,6 @@ void LyXText::InsertRow(Row * row, LyXParagraph * par,
|
|||||||
// removes the row and reset the touched counters
|
// removes the row and reset the touched counters
|
||||||
void LyXText::RemoveRow(Row * row) const
|
void LyXText::RemoveRow(Row * row) const
|
||||||
{
|
{
|
||||||
/* this must not happen before the currentrow for clear reasons.
|
|
||||||
so the trick is just to set the current row onto the previous
|
|
||||||
row of this row */
|
|
||||||
int unused_y;
|
|
||||||
GetRow(row->par(), row->pos(), unused_y);
|
|
||||||
|
|
||||||
if (row->next())
|
if (row->next())
|
||||||
row->next()->previous(row->previous());
|
row->next()->previous(row->previous());
|
||||||
if (!row->previous()) {
|
if (!row->previous()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user