From: handa Date: Thu, 30 Apr 2009 02:19:07 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5e102c00ed580d12336eaec6eddd111b328fed36;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/textprop.cs b/textprop.cs index 925b306..0bef4ac 100644 --- a/textprop.cs +++ b/textprop.cs @@ -8,7 +8,27 @@ public class Test const int LENGTH = 10; const int DEPTH = 10; static MText mt = new MText ("0123456789"); - static MSymbol key = MSymbol.Of ("k"); + static MSymbol key = MSymbol.PropertyKey ("k"); + static MSymbol key_r = MSymbol.PropertyKey ("k", + MProperty.Flags.RearSticky); + static MSymbol key_f = MSymbol.PropertyKey ("k", + MProperty.Flags.FrontSticky); + static MSymbol key_rf = MSymbol.PropertyKey ("k", + (MProperty.Flags.RearSticky + | MProperty.Flags.FrontSticky)); + static MSymbol key_s = MSymbol.PropertyKey ("k", + MProperty.Flags.Sensitive); + static MSymbol key_rs = MSymbol.PropertyKey ("k", + (MProperty.Flags.RearSticky + | MProperty.Flags.Sensitive)); + static MSymbol key_fs = MSymbol.PropertyKey ("k", + (MProperty.Flags.FrontSticky + | MProperty.Flags.Sensitive)); + static MSymbol key_rfs = MSymbol.PropertyKey ("k", + (MProperty.Flags.RearSticky + | MProperty.Flags.FrontSticky + | MProperty.Flags.Sensitive)); + static MSymbol val0 = MSymbol.Of ("0"); static MSymbol val1 = MSymbol.Of ("1"); static MSymbol val2 = MSymbol.Of ("2");