From 008f303c720ef8bdc2e8a0179bb5153eef21edb8 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 29 Apr 2009 09:39:57 +0000 Subject: [PATCH] *** empty log message *** --- MText.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MText.cs b/MText.cs index 5c9c778..4a8d448 100644 --- a/MText.cs +++ b/MText.cs @@ -415,7 +415,7 @@ namespace M17N.Core MInterval root = (MInterval) plist.Val; root.Delete (from, to); if (from > 0 && from < nchars) - root.MergeAfterChange (from, from); + ((MInterval) plist.Val).MergeAfterChange (from, from); } else intervals.Clear (); @@ -793,6 +793,7 @@ namespace M17N.Core if (c1 != null) c1.Parent = this; + Parent.update_from_to (); return Parent; } @@ -826,6 +827,7 @@ namespace M17N.Core if (c2 != null) c2.Parent = this; + Parent.update_from_to (); return Parent; } @@ -833,6 +835,7 @@ namespace M17N.Core { MInterval i = this; + update_from_to (); while (true) { // .-this-. -- 1.7.10.4