private void InsertFontSize(TMValueComboBoxItem fontSize)
            {
                if (fontSize == null)
                {
                    return;
                }

                this.OnSurroundTag(fontSize.Value.AsString(true));
            }
Example #2
0
        private static Func <string> CreateSizeFunc(TMValueComboBoxItem fontSize)
        {
            if (fontSize == null)
            {
                return(null);
            }

            return(new Func <string>(() => string.Format(@"<span class=""{0}"">",
                                                         fontSize.Tag.AsString(true))));
        }