实例介绍
AvalonEdit是基于WPF的文本编辑器。
【实例截图】【核心代码】
文件清单
└── AvalonEdit-30cad99ce905412ed5f5e847e3c00e72e69aee77
├── BuildTools
│ └── tidy.py
├── ChangeLog.md
├── Documentation
│ ├── Architecture.aml
│ ├── Code Completion.aml
│ ├── Coordinate Systems.aml
│ ├── Folding.aml
│ ├── icons
│ │ └── Help.png
│ ├── ICSharpCode.AvalonEdit.content
│ ├── ICSharpCode.AvalonEdit.Documentation.shfbproj
│ ├── License.html
│ ├── Media
│ │ ├── NamespaceDependencies.png
│ │ ├── RenderingPipeline.png
│ │ ├── VisualTree.png
│ │ └── WelcomeScreenshot.png
│ ├── Sample Application.aml
│ ├── Syntax Highlighting.aml
│ ├── Text Rendering.aml
│ └── Welcome.aml
├── global.json
├── ICSharpCode.AvalonEdit
│ ├── AvalonEditCommands.cs
│ ├── AvalonEditNuGetPackageIcon.png
│ ├── CodeCompletion
│ │ ├── CompletionListBox.cs
│ │ ├── CompletionList.cs
│ │ ├── CompletionList.xaml
│ │ ├── CompletionWindowBase.cs
│ │ ├── CompletionWindow.cs
│ │ ├── ICompletionData.cs
│ │ ├── InsightWindow.cs
│ │ ├── InsightWindow.xaml
│ │ ├── IOverloadProvider.cs
│ │ ├── OverloadInsightWindow.cs
│ │ └── OverloadViewer.cs
│ ├── docs
│ │ └── PackageReadme.md
│ ├── Document
│ │ ├── DocumentChangeEventArgs.cs
│ │ ├── DocumentChangeOperation.cs
│ │ ├── DocumentLine.cs
│ │ ├── DocumentLineTree.cs
│ │ ├── DocumentTextWriter.cs
│ │ ├── GapTextBuffer.cs
│ │ ├── IDocument.cs
│ │ ├── ILineTracker.cs
│ │ ├── ITextAnchor.cs
│ │ ├── ITextSource.cs
│ │ ├── IUndoableOperation.cs
│ │ ├── LineManager.cs
│ │ ├── LineNode.cs
│ │ ├── NewLineFinder.cs
│ │ ├── OffsetChangeMap.cs
│ │ ├── RopeTextSource.cs
│ │ ├── SimpleSegment.cs
│ │ ├── TextAnchor.cs
│ │ ├── TextAnchorNode.cs
│ │ ├── TextAnchorTree.cs
│ │ ├── TextDocument.cs
│ │ ├── TextDocumentWeakEventManager.cs
│ │ ├── TextLocation.cs
│ │ ├── TextSegmentCollection.cs
│ │ ├── TextSegment.cs
│ │ ├── TextSourceVersionProvider.cs
│ │ ├── TextUtilities.cs
│ │ ├── UndoOperationGroup.cs
│ │ ├── UndoStack.cs
│ │ └── WeakLineTracker.cs
│ ├── Editing
│ │ ├── AbstractMargin.cs
│ │ ├── Caret.cs
│ │ ├── CaretLayer.cs
│ │ ├── CaretNavigationCommandHandler.cs
│ │ ├── CaretWeakEventHandler.cs
│ │ ├── DottedLineMargin.cs
│ │ ├── DragDropException.cs
│ │ ├── EditingCommandHandler.cs
│ │ ├── EmptySelection.cs
│ │ ├── ImeNativeWrapper.cs
│ │ ├── ImeSupport.cs
│ │ ├── IReadOnlySectionProvider.cs
│ │ ├── LineNumberMargin.cs
│ │ ├── MouseSelectionMode.cs
│ │ ├── NoReadOnlySections.cs
│ │ ├── RectangleSelection.cs
│ │ ├── SelectionColorizer.cs
│ │ ├── Selection.cs
│ │ ├── SelectionLayer.cs
│ │ ├── SelectionMouseHandler.cs
│ │ ├── SelectionSegment.cs
│ │ ├── SimpleSelection.cs
│ │ ├── TextAreaAutomationPeer.cs
│ │ ├── TextArea.cs
│ │ ├── TextAreaDefaultInputHandlers.cs
│ │ ├── TextAreaInputHandler.cs
│ │ ├── TextRangeProvider.cs
│ │ └── TextSegmentReadOnlySectionProvider.cs
│ ├── Folding
│ │ ├── FoldingElementGenerator.cs
│ │ ├── FoldingManager.cs
│ │ ├── FoldingMargin.cs
│ │ ├── FoldingMarginMarker.cs
│ │ ├── FoldingSection.cs
│ │ ├── NewFolding.cs
│ │ └── XmlFoldingStrategy.cs
│ ├── Highlighting
│ │ ├── DocumentHighlighter.cs
│ │ ├── HighlightedInlineBuilder.cs
│ │ ├── HighlightedLine.cs
│ │ ├── HighlightedSection.cs
│ │ ├── HighlightingBrush.cs
│ │ ├── HighlightingColor.cs
│ │ ├── HighlightingColorizer.cs
│ │ ├── HighlightingDefinitionInvalidException.cs
│ │ ├── HighlightingDefinitionTypeConverter.cs
│ │ ├── HighlightingEngine.cs
│ │ ├── HighlightingManager.cs
│ │ ├── HighlightingRule.cs
│ │ ├── HighlightingRuleSet.cs
│ │ ├── HighlightingSpan.cs
│ │ ├── HtmlClipboard.cs
│ │ ├── HtmlOptions.cs
│ │ ├── HtmlRichTextWriter.cs
│ │ ├── IHighlighter.cs
│ │ ├── IHighlightingDefinition.cs
│ │ ├── IHighlightingDefinitionReferenceResolver.cs
│ │ ├── Resources
│ │ │ ├── ASPX.xshd
│ │ │ ├── Boo.xshd
│ │ │ ├── Coco-Mode.xshd
│ │ │ ├── CPP-Mode.xshd
│ │ │ ├── CSharp-Mode.xshd
│ │ │ ├── CSS-Mode.xshd
│ │ │ ├── HTML-Mode.xshd
│ │ │ ├── Java-Mode.xshd
│ │ │ ├── JavaScript-Mode.xshd
│ │ │ ├── Json.xshd
│ │ │ ├── MarkDown-Mode.xshd
│ │ │ ├── MarkDownWithFontSize-Mode.xshd
│ │ │ ├── ModeV1.xsd
│ │ │ ├── ModeV2.xsd
│ │ │ ├── Patch-Mode.xshd
│ │ │ ├── PHP-Mode.xshd
│ │ │ ├── PowerShell.xshd
│ │ │ ├── Python-Mode.xshd
│ │ │ ├── Resources.cs
│ │ │ ├── Tex-Mode.xshd
│ │ │ ├── TSQL-Mode.xshd
│ │ │ ├── VB-Mode.xshd
│ │ │ ├── XmlDoc.xshd
│ │ │ └── XML-Mode.xshd
│ │ ├── RichTextColorizer.cs
│ │ ├── RichText.cs
│ │ ├── RichTextModel.cs
│ │ ├── RichTextModelWriter.cs
│ │ └── Xshd
│ │ ├── HighlightingLoader.cs
│ │ ├── IXshdVisitor.cs
│ │ ├── SaveXshdVisitor.cs
│ │ ├── V1Loader.cs
│ │ ├── V2Loader.cs
│ │ ├── XmlHighlightingDefinition.cs
│ │ ├── XshdColor.cs
│ │ ├── XshdElement.cs
│ │ ├── XshdImport.cs
│ │ ├── XshdKeywords.cs
│ │ ├── XshdProperty.cs
│ │ ├── XshdReference.cs
│ │ ├── XshdRule.cs
│ │ ├── XshdRuleSet.cs
│ │ ├── XshdSpan.cs
│ │ └── XshdSyntaxDefinition.cs
│ ├── ICSharpCode.AvalonEdit.csproj
│ ├── ICSharpCode.AvalonEdit.snk
│ ├── Indentation
│ │ ├── CSharp
│ │ │ ├── CSharpIndentationStrategy.cs
│ │ │ ├── DocumentAccessor.cs
│ │ │ └── IndentationReformatter.cs
│ │ ├── DefaultIndentationStrategy.cs
│ │ └── IIndentationStrategy.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ └── CodeAnalysisDictionary.xml
│ ├── Rendering
│ │ ├── BackgroundGeometryBuilder.cs
│ │ ├── CollapsedLineSection.cs
│ │ ├── ColorizingTransformer.cs
│ │ ├── ColumnRulerRenderer.cs
│ │ ├── CurrentLineHighlightRenderer.cs
│ │ ├── DefaultTextRunTypographyProperties.cs
│ │ ├── DocumentColorizingTransformer.cs
│ │ ├── FormattedTextElement.cs
│ │ ├── GlobalTextRunProperties.cs
│ │ ├── HeightTree.cs
│ │ ├── HeightTreeLineNode.cs
│ │ ├── HeightTreeNode.cs
│ │ ├── IBackgroundRenderer.cs
│ │ ├── InlineObjectRun.cs
│ │ ├── ITextRunConstructionContext.cs
│ │ ├── ITextViewConnect.cs
│ │ ├── IVisualLineTransformer.cs
│ │ ├── Layer.cs
│ │ ├── LayerPosition.cs
│ │ ├── LinkElementGenerator.cs
│ │ ├── MouseHoverLogic.cs
│ │ ├── SimpleTextSource.cs
│ │ ├── SingleCharacterElementGenerator.cs
│ │ ├── TextLayer.cs
│ │ ├── TextViewCachedElements.cs
│ │ ├── TextView.cs
│ │ ├── TextViewWeakEventManager.cs
│ │ ├── VisualLineConstructionStartEventArgs.cs
│ │ ├── VisualLine.cs
│ │ ├── VisualLineElement.cs
│ │ ├── VisualLineElementGenerator.cs
│ │ ├── VisualLineElementTextRunProperties.cs
│ │ ├── VisualLineLinkText.cs
│ │ ├── VisualLinesInvalidException.cs
│ │ ├── VisualLineText.cs
│ │ ├── VisualLineTextParagraphProperties.cs
│ │ ├── VisualLineTextSource.cs
│ │ └── VisualYPosition.cs
│ ├── Search
│ │ ├── DropDownButton.cs
│ │ ├── DropDownButton.xaml
│ │ ├── ISearchStrategy.cs
│ │ ├── Localization.cs
│ │ ├── next.png
│ │ ├── prev.png
│ │ ├── RegexSearchStrategy.cs
│ │ ├── SearchCommands.cs
│ │ ├── SearchPanel.cs
│ │ ├── SearchPanel.xaml
│ │ ├── SearchResultBackgroundRenderer.cs
│ │ └── SearchStrategyFactory.cs
│ ├── Snippets
│ │ ├── IActiveElement.cs
│ │ ├── InsertionContext.cs
│ │ ├── SnippetAnchorElement.cs
│ │ ├── SnippetBoundElement.cs
│ │ ├── SnippetCaretElement.cs
│ │ ├── SnippetContainerElement.cs
│ │ ├── Snippet.cs
│ │ ├── SnippetElement.cs
│ │ ├── SnippetEventArgs.cs
│ │ ├── SnippetInputHandler.cs
│ │ ├── SnippetReplaceableTextElement.cs
│ │ ├── SnippetSelectionElement.cs
│ │ └── SnippetTextElement.cs
│ ├── TextEditorAutomationPeer.cs
│ ├── TextEditorComponent.cs
│ ├── TextEditor.cs
│ ├── TextEditorOptions.cs
│ ├── TextEditorWeakEventManager.cs
│ ├── TextEditor.xaml
│ ├── TextViewPosition.cs
│ ├── themes
│ │ ├── generic.xaml
│ │ └── RightArrow.cur
│ └── Utils
│ ├── Boxes.cs
│ ├── CallbackOnDispose.cs
│ ├── CharRope.cs
│ ├── CompressingTreeList.cs
│ ├── Constants.cs
│ ├── DelayedEvents.cs
│ ├── Deque.cs
│ ├── DocumentPrinter.cs
│ ├── Empty.cs
│ ├── ExtensionMethods.cs
│ ├── FileReader.cs
│ ├── IFreezable.cs
│ ├── ImmutableStack.cs
│ ├── NullSafeCollection.cs
│ ├── ObserveAddRemoveCollection.cs
│ ├── PixelSnapHelpers.cs
│ ├── PlainRichTextWriter.cs
│ ├── PropertyChangedWeakEventManager.cs
│ ├── RichTextWriter.cs
│ ├── Rope.cs
│ ├── RopeNode.cs
│ ├── RopeTextReader.cs
│ ├── StringSegment.cs
│ ├── TextFormatterFactory.cs
│ ├── ThrowUtil.cs
│ ├── WeakEventManagerBase.cs
│ └── Win32.cs
├── ICSharpCode.AvalonEdit.Documentation.sln
├── ICSharpCode.AvalonEdit.Sample
│ ├── app.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── article.html
│ ├── AvalonEdit
│ │ ├── dependencies.png
│ │ ├── folding.png
│ │ ├── renderingPipeline.png
│ │ ├── screenshot.png
│ │ └── snoop.png
│ ├── BraceFoldingStrategy.cs
│ ├── ColorizeAvalonEdit.cs
│ ├── CustomHighlighting.xshd
│ ├── document.html
│ ├── ICSharpCode.AvalonEdit.Sample.csproj
│ ├── ImageElementGenerator.cs
│ ├── Images
│ │ ├── Copy.png
│ │ ├── Cut.png
│ │ ├── Delete.png
│ │ ├── Open.png
│ │ ├── Paste.png
│ │ ├── Redo.png
│ │ ├── Save.png
│ │ ├── Undo.png
│ │ └── WordWrap.png
│ ├── MyCompletionData.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ └── WPFAssemblyInfo.cs
│ ├── rendering.html
│ ├── RenderingPipeline.pptx
│ ├── Window1.xaml
│ └── Window1.xaml.cs
├── ICSharpCode.AvalonEdit.sln
├── ICSharpCode.AvalonEdit.Tests
│ ├── Document
│ │ ├── ChangeTrackingTest.cs
│ │ ├── CollapsingTests.cs
│ │ ├── HeightTests.cs
│ │ ├── LineManagerTests.cs
│ │ ├── RandomizedLineManagerTest.cs
│ │ ├── TextAnchorTest.cs
│ │ ├── TextSegmentTreeTest.cs
│ │ ├── TextUtilitiesTests.cs
│ │ └── UndoStackTests.cs
│ ├── Editing
│ │ ├── ChangeDocumentTests.cs
│ │ └── TextSegmentReadOnlySectionTests.cs
│ ├── Highlighting
│ │ ├── DeserializationTests.cs
│ │ ├── HighlightedLineMergeTests.cs
│ │ ├── HighlightingManagerTests.cs
│ │ ├── HtmlClipboardTests.cs
│ │ ├── RichTextTests.cs
│ │ └── XmlHighlightingDefinitionTests.cs
│ ├── ICSharpCode.AvalonEdit.Tests.csproj
│ ├── ICSharpCode.AvalonEdit.Tests.PartCover.Settings
│ ├── MultipleUIThreads.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Search
│ │ └── FindTests.cs
│ ├── Utils
│ │ ├── CaretNavigationTests.cs
│ │ ├── CompressingTreeListTests.cs
│ │ ├── ExtensionMethodsTests.cs
│ │ ├── IndentationStringTests.cs
│ │ └── RopeTests.cs
│ └── WeakReferenceTests.cs
├── LICENSE
├── README.md
└── ThirdParty-Highlightings
├── CLLE.xshd
├── README.md
└── RPGLE.xshd
34 directories, 336 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论