mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
fix a crash on resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7268 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dcb9c3eabb
commit
7e5c4e7695
@ -1,3 +1,7 @@
|
|||||||
|
2003-07-14 Alfredo Braunstein <abraunst@libero.it>
|
||||||
|
|
||||||
|
* text2.C (init): fix a crash fired on resize
|
||||||
|
|
||||||
2003-07-11 Alfredo Braunstein <abraunst@libero.it>
|
2003-07-11 Alfredo Braunstein <abraunst@libero.it>
|
||||||
|
|
||||||
* buffer.[Ch]: added new closing signal
|
* buffer.[Ch]: added new closing signal
|
||||||
|
@ -88,11 +88,13 @@ void LyXText::init(BufferView * bview, bool reinit)
|
|||||||
rowlist_.clear();
|
rowlist_.clear();
|
||||||
need_break_row = rows().end();
|
need_break_row = rows().end();
|
||||||
width = height = 0;
|
width = height = 0;
|
||||||
top_y(0);
|
|
||||||
clearPaint();
|
clearPaint();
|
||||||
} else if (!rowlist_.empty())
|
} else if (!rowlist_.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
anchor_row_ = rows().end();
|
||||||
|
anchor_row_offset_ = 0;
|
||||||
|
|
||||||
ParagraphList::iterator pit = ownerParagraphs().begin();
|
ParagraphList::iterator pit = ownerParagraphs().begin();
|
||||||
ParagraphList::iterator end = ownerParagraphs().end();
|
ParagraphList::iterator end = ownerParagraphs().end();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user