> "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes:
Bernhard> Bernhard Roider wrote:
>> Hello,
>>
>> description of bug 3303: moving the last section up in the toc
>> dialog eats the new last paragraph. This patch fixes that, BUT ...
Bernhard> This one works now:
Bernhard> The probl
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc
dialog eats the new last paragraph. This patch fixes that, BUT ...
This one works now:
I committed
Bernhard Roider wrote:
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc
dialog eats the new last paragraph. This patch fixes that, BUT ...
This one works now:
I committed this one. I hope that you
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT ...
This one works now:
I committed this one. I hope that you will be able to commit
Bernhard Roider wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT ...
This one works now:
I committed this one. I hope that you will be able to commit your next
contribution by
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT ...
This one works now:
The problem was that pit is a reference to cur.pit() and was set to lastpit() + 1 before calling
recordUndo(cur
Bernhard Roider wrote:
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT if you move
the last paragraph up and press undo afterwards then lyx crashes
because in
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT if you move
the last paragraph up and press undo afterwards then lyx crashes
because in the method BufferView::
Bernhard Roider wrote:
the code in BufferView::center() is:
CursorSlice & bot = cursor_.bottom();
TextMetrics & tm = text_metrics_[bot.text()];
pit_type const pit = bot.pit();
tm.redoParagraph(pit);
ParagraphMetrics const & pm = tm.parMetrics(pit);
so maybe
tm.redoParagrap
Bernhard Roider wrote:
Abdelrazak Younes wrote:
pit_type const newpit = std::distance(bgn, dest);
L1 pit_type const len = std::distance(start, finish);
L2 pit += len;
-pit = std::min(pit, cur.lastpit());
-recordUndo(cur, Undo::ATOMIC, ne
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT if you move
the last paragraph up and press undo afterwards then lyx crashes
because in the method BufferView::
Abdelrazak Younes wrote:
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT if you move
the last paragraph up and press undo afterwards then lyx crashes
because in the method BufferView::
Bernhard Roider wrote:
the commented line should be deleted in the code...
Lars would have caught that I'm sure ;-)
Index: src/toc.C
===
--- src/toc.C
Bernhard Roider wrote:
Hello,
description of bug 3303: moving the last section up in the toc dialog
eats the new last paragraph. This patch fixes that, BUT if you move the
last paragraph up and press undo afterwards then lyx crashes because in
the method BufferView::center():
...
ParagraphMe
the commented line should be deleted in the code...
Index: src/toc.C
===
--- src/toc.C (revision 17395)
+++ src/toc.C (working copy)
@@ -81,12 +81,13 @@
pit_type const newpit = std::distance(bgn, dest);
Hello,
description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph.
This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx
crashes because in the method BufferView::center():
...
ParagraphMetrics const & pm = tm.par
16 matches
Mail list logo