*** empty log message ***
[m17n/m17n-lib-cs.git] / MText.cs
index 07d90ca..d7a6dcf 100644 (file)
--- a/MText.cs
+++ b/MText.cs
@@ -287,8 +287,12 @@ namespace M17N.Core
       //
       // Start and end positions of this interval and its children.
       // If this is the left node, the values are relative to the
-      // parent's total_start.  Otherwise, the values are relatie to
-      // the parent's total_end.
+      // parent's total_start.  Otherwise, the values are relative to
+      // the parent's total_end.  So:
+      //                       total_start  total_end
+      //   left-side interval  0            positive
+      //   right-side interval negative     0
+      //   top-most interval   -1           positive
       private int total_start, total_end;
       // Stack of MTextProperty
       private Stack<MTextProperty> stack;