Ejemplo n.º 1
0
        private void AppendTrim(StringBuilder bld, GLine line, int pos, int length)
        {
            Debug.Assert(pos >= 0);
            if (line.IsRightSideOfZenkaku(pos)) { //���{�ꕶ���̉E�[����̂Ƃ��͊g�傷��
                pos--;
                length++;
            }

            line.WriteTo(
                delegate(char[] buff, int len) {
                    bld.Append(buff, 0, len);
                },
                pos, length);
        }
Ejemplo n.º 2
0
        private void AppendTrim(StringBuilder bld, GLine line, int pos, int length) {
            Debug.Assert(pos >= 0);
            if (line.IsRightSideOfZenkaku(pos)) { //日本語文字の右端からのときは拡大する
                pos--;
                length++;
            }

            line.WriteTo(
                delegate(char[] buff, int len) {
                    bld.Append(buff, 0, len);
                },
                pos, length);
        }