/// <summary>
        /// Gets options data from user interface.
        /// </summary>
        protected override void ParseOptionsData(ICustomRuleOptionsData data)
        {
            CharLimitOptionsData options = (CharLimitOptionsData)data;

            options.Limit.Parse(textLimit.Text);
            options.TabSize.Parse(textTabSize.Text);
        }
        /// <summary>
        /// Displays specified options data.
        /// </summary>
        protected override void DisplayOptionsData(ICustomRuleOptionsData data)
        {
            CharLimitOptionsData options = (CharLimitOptionsData)data;

            textLimit.Text   = options.Limit.Value.ToString();
            textTabSize.Text = options.TabSize.Value.ToString();
        }