From: handa Date: Wed, 29 Apr 2009 09:39:57 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008f303c720ef8bdc2e8a0179bb5153eef21edb8;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- 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-.