Questions tagged [avalonedit]

AvalonEdit is a .NET WPF-based source code editor component developed for SharpDevelop 4.0 "Mirador".

AvalonEdit supports .NET 3.5 SP1 and .NET 4.0.

Source code can be downloaded from the SharpDevelop source code repository.

As SharpDevelop 4.0 is still in development the documentation for AvalonEdit is very sparse. All available materials are compiled in an article on SharpDevelop wiki.

Resources

Using AvalonEdit (WPF Text Editor)
Making AvalonEdit MVVM compatible

175 questions
4
votes
2 answers

How to Change the Style on AvalonEdit CodeCompletion Window?

I'm trying to figure out how to change the style of the AvalonEdit CodeCompletion window. However, I can't figure out the right combination of xaml style target/properties to change it. The main thing I'd like to do is get rid of the border, but…
Keith G
  • 4,400
  • 5
  • 36
  • 46
4
votes
3 answers

Binding Failure in WPF using MVVM

I have created a custom TextEditor control that inherits from AvalonEdit. I have done this to facilitate the use of MVVM and Caliburn Micro using this editor control. The [cut down for display purposes] MvvTextEditor class is public class…
MoonKnight
  • 23,430
  • 34
  • 134
  • 249
4
votes
1 answer

Hooking-up commands in AvalonEdit used in ListView's ItemTemplate doesn't work

I have used AvalonEdit control in my project. When I use shortcut keys like Ctrl+C or Ctrl+V, associated copy/paste commands works fine. I decided to use these commands in context menu for more usability because some users get used to right-click…
Naser Asadi
  • 1,085
  • 16
  • 34
3
votes
2 answers

Loading AvalonEdit syntax highlighting definitions from resource

I have an AvalonEdit text box, and I want to include syntax highlighting. 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 AvalonEdit box? I've looked through a bunch of tutorials, but none…
Entity
  • 7,263
  • 19
  • 69
  • 117
3
votes
1 answer

Text editor with intellisense support for web like Avalon Editor

I need the text editor for web (jQuery) with the code completion (intelli-sense) support like the AvalonEditor for the WPF framework. Please share the suggestions. Requirements: I will have a set of keywords, if the user types the word and it…
3
votes
1 answer

BraceFolding in AvalonEdit

I use the BraceFoldingStrategy by Daniel Grünwald: public IEnumerable CreateNewFoldings(ITextSource document) { List newFoldings = new List(); Stack startOffsets = new…
anon
3
votes
1 answer

WPF Control inside ElementHost is invisible

I have a WPF control (the ICSharpCode.AvalonEdit.TextEditor) in a Winforms project inside an ElementHost. I have confirmed with the debugger that the TextEditor is actually set as the child of the ElementHost, and all its properties are being set…
Migwell
  • 14,206
  • 17
  • 65
  • 122
3
votes
1 answer

Syntax highlighting with AvalonEdit

I am trying to write a regex for AvalonEdit.TextEditor to mark everything after the second | a certain color. Example(value should be a color): action|key|value I am trying something like this but it doesn't work because I can't specify the group…
Alioooop
  • 465
  • 4
  • 12
3
votes
1 answer

AvalonEdit XSHD-Ruleset (for tex)

I'm using the AvalonEdit control in and I have a small problem with the xshd-ruleset (for tex): There is a section in the original file 'syntaxdefinition for TeX document 2001 by Mike Krueger (gleaned from Jedit)' about special keywords and I'm…
zee
  • 661
  • 1
  • 10
  • 26
3
votes
1 answer

AvalonEdit - Visible Text

I try to get the visible text of the avalonedit control, but the VisualLines[] only handles wordwrap with TextLines[] and I dont know how to check if a TextLine is in the visible area or not. The problem also would be solved if I can get the start-…
zee
  • 661
  • 1
  • 10
  • 26
3
votes
1 answer

Using AvalonEdit in Sharpdevelop 3.x

I am very curious to know if it is possible to replace the normal ICSharpCode.TextEditor with AvalonEdit in Sharpdevelop 3.x. Frankly speaking AvalonEdit is way too better than ICSharpCode.TextEditor, so it would be better to use AvalonEdit in…
Anindya Chatterjee
  • 5,369
  • 11
  • 54
  • 78
3
votes
1 answer

Iron python debugger for my application

I have a WPF application.It has a iron python script editor using AvalonEdit. We were able to validate and run the iron python scripts using this application. But we need to integrate an iron python debugger in to this application. Can anyone…
Prasanth V J
  • 993
  • 11
  • 30
3
votes
1 answer

AvalonEdit: Copy takes forever for large highlighted text files

Actually this was asked on http://community.sharpdevelop.net/forums/p/21949/56153.aspx#56153 but with no answer yet - so I try it here. I'm using Avalon Edit (ICSharpCode.AvalonEdit.dll 4.4.2) in a WPF 4.0 application. I have loaded a text file (~7…
3
votes
1 answer

How to center text in AvalonEdit?

I'm using ICSharpCode's AvalonEdit text editor, and I have a custom DocumentColorizingTransformer. I would like to center certain lines of text inside of ColorizeLine. Is this possible? I've been able to figure out how to change the line's text in…
encoder
  • 595
  • 4
  • 14
3
votes
0 answers

Document Outline in AvalonEdit

I am using the AvalonEdit in my app. In order to provide users better code navigation I am trying to provide a Document Outline of the source code, so I am wondering if AvalonEdit support it provide in in tree style manner. Edit: It seems that there…
Jim
  • 2,262
  • 8
  • 37
  • 52
1 2
3
11 12