示例9: ConvertTextDocumentToBlock ▲点赞 1▼ publicstaticBlockConvertTextDocumentToBlock(TextDocument document, IHighlighter highlighter){if(document ==null)thrownewArgumentNullException("document");// Table table = new Table();// table.Columns.Add(new TableColumn { Width = GridLength.Auto });/...