string GenerateEmptyDocumentation(IEntity member, string indent) { string doc = DocumentBufferHandler.GenerateEmptyDocumentation(textEditorData, member, indent); int trimStart = (Math.Min(doc.Length - 1, indent.Length + "//".Length)); return(doc.Substring(trimStart).TrimEnd('\n', '\r')); }
string GenerateDocumentation(ISymbol member, string indent) { string doc = DocumentBufferHandler.GenerateDocumentation(Editor, member, indent); int trimStart = (Math.Min(doc.Length - 1, indent.Length + "//".Length)); return(doc.Substring(trimStart).TrimEnd('\n', '\r')); }
public override string GenerateDocumentation(IMember member, string linePrefix) { return(DocumentBufferHandler.GenerateDocumentation(null, member, "", linePrefix)); }