*** empty log message ***
[m17n/m17n-lib-cs.git] / chartab.cs
index 02c7485..7262d93 100644 (file)
@@ -30,7 +30,20 @@ public class Test
     Console.WriteLine ("# Using MCharRange from U+3000 to U+0");
     MCharRange r = new MCharRange (0x3000, tbl);
     do {
-      Console.WriteLine (r);
+      if (r.Value != null)
+       Console.WriteLine (r);
     } while (r.Prev ());
+
+    Console.WriteLine ("# Using MCharProp of BIDI");
+    MDatabase.ApplicationDir = "/usr/local/share/m17n";
+    MCharProp bidi = new MCharProp (MSymbol.Of ("bidirectional-category"));
+    r = new MCharRange (0, bidi);
+    while (r.To < 0x800)
+      {
+       if (r.Value != null)
+         Console.WriteLine (r);
+       r.Next ();
+      }
+    Console.WriteLine ("...");
   }
 }