avalonedit
Find multiple strings in avalon Editor
I\'m using avalon Edit. I need to find and highlight multiple strings in the editor. Any idea开发者_如何学C how to achieve that.[详细]
2023-03-26 20:18 分类:问答Loading AvalonEdit syntax highlighting definitions from resource
I have an AvalonEdit text box, and I want to include syntax hi开发者_开发技巧ghlighting. I\'ve already created my .xshd file, and I have it in my project as a Resource. Now how do I apply it to my Ava[详细]
2023-03-12 07:21 分类:问答Weird scrollbar UI in hosted WPF composite control
My windows forms application hosts AvalonEdit (the composite WPF control in question) in one of its forms to cater to its text editing requirements. Here\'s the code I use:[详细]
2023-03-02 04:01 分类:问答BraceFolding in AvalonEdit
I use the BraceFoldingStrategy by Daniel Grünwald: public IEnumerable<NewFolding> CreateNewFoldings(ITextSource document)[详细]
2023-02-15 22:59 分类:问答AvalonEdit not updating if not visible
I have implemented AvalonEdit in my application. Everything works fine except one little hitch - if I change the contents of the editor manually via the Text property while the editor is not visible ([详细]
2023-02-15 01:44 分类:问答How do I create an AvalonEdit syntax file (.xshd) and embed it into my assembly?
I\'m trying to define some custom highlighting rules for AvalonEdit. There doesn\'t seem to be any documentation for this -- there\'s some documentation on the file format, but nothing on how to actua[详细]
2023-02-12 08:24 分类:问答AvalonEdit: highlight current line even when not focused
I\'m using AvalonEdit, and I want the user to always be able to see which line the caret is on, even when the editor does not have focus. To that end, I\'ve found and adapted some code that uses a Bac[详细]
2023-02-12 05:40 分类:问答AvalonEdit WPF TextEditor (SharpDevelop): How to highlight a specific range of text?
The incredibly awesome AvalonEdit WPF TextEditor control seems to lack an important feature, or at least i can\'t figure it out. Given an offset and a length, highlight that portion in the TextDocumen[详细]
2023-02-10 21:11 分类:问答Application hangs when calling external constructor -- troubleshooting steps?
This may be a long shot but I\'m out of ideas. I\'ve got a VS C# solution with three projects in it. There\'s a class library project and then two application projects that depend on that class libra[详细]
2023-02-09 16:01 分类:问答How to enable Virtual Space in AvalonEdit?
I want to achieve \"Virtual Space\" functionality, similar to one in Visual Studio, in AvalonEdit. I.e. the caret could be positioned beyond the end of the text line, and if you press any key, there[详细]
2023-02-09 04:13 分类:问答