Committed!
Author: msevior
Date: 2011-06-18 06:08:27 +0200 (Sat, 18 Jun 2011)
New Revision: 29835
Modified:
abiword/trunk/src/text/fmt/xp/fv_View.cpp
Log:
Fix bug 12937 PieceTable put into wrong state after doing cntrl-delete
in an empty document.
Fix from Andre Sfrent. Congrats on your first commit to trunk Andre!
Please backport.
Modified: abiword/trunk/src/text/fmt/xp/fv_View.cpp
===================================================================
--- abiword/trunk/src/text/fmt/xp/fv_View.cpp 2011-06-18 00:44:53
UTC (rev 29834)
+++ abiword/trunk/src/text/fmt/xp/fv_View.cpp 2011-06-18 04:08:27
UTC (rev 29835)
@@ -6367,13 +6367,13 @@
PT_DocPosition iPos = _getDocPos(dp);
PT_DocPosition iPoint = getPoint();
- // Signal PieceTable Change
- _saveAndNotifyPieceTableChange();
-
if (iPos == iPoint)
{
return;
}
+
+ // Signal PieceTable Change
+ _saveAndNotifyPieceTableChange();
_extSelToPos(iPos);
On Sat, Jun 18, 2011 at 2:07 AM, Andrei Sfrent <andreisfrent@gmail.com> wrote:
> Hi!
>
> I attached a patch which should solve this bug:
> http://bugzilla.abisource.com/show_bug.cgi?id=12937
>
> Andrei
>
Received on Sat Jun 18 06:09:29 2011
This archive was generated by hypermail 2.1.8 : Sat Jun 18 2011 - 06:09:29 CEST