Ejemplo n.º 1
0
    protected void ShowCaret()
    {
        if (caret == null)
        {
            return;
        }

        // Recalculate our clipping rect:
        CalcClippingRect();

        caret.Hide(false);
        PositionCaret();

        // Make sure the caret is still showing:
        if (!caret.IsHidden())
        {
            transitions[1].list[0].Start();
            if (caret.animations.Length > 0)
            {
                caret.DoAnim(0);
            }
        }
    }