Exemplo n.º 1
0
        }   // end of Init()

        public static Unicode.UnicodeCharData GetCharInfo(char c)
        {
            Debug.Assert(charDict != null, "Looks like we need to init this sooner.");

            Unicode.UnicodeCharData result = null;
            charDict.TryGetValue(c, out result);

            return(result);
        }   // end of GetCharInfo()
Exemplo n.º 2
0
            public FatChar(char c)
            {
                this.c = c;
                Unicode.UnicodeCharData data = Unicode.GetCharInfo(c);

                this.originalType = this.type = data.type;
                this.mirrored     = data.mirrored;
                this.mirroredChar = data.mirroredChar;

                this.level = 0;
            }