public override string ToString() { StringBuilder buf = new StringBuilder(); string strLang = CoreUtils.GetLanguageString(codeblock.language); buf.Append("["); buf.Append(strLang); buf.Append("]"); buf.Append("\n"); buf.Append("{"); buf.Append("\n"); if (CodeBlockNode != null) { buf.Append(CodeBlockNode.ToString()); } buf.Append("\n"); buf.Append("}"); buf.Append("\n"); return(buf.ToString()); }