Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7016313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:46:06+00:00 2026-05-27T22:46:06+00:00

I am working on a project which includes implementing a scripting interface for my

  • 0

I am working on a project which includes implementing a scripting interface for my WPF (.Net4) windows Application. I am curious if anyone can suggest a preferred editor, AvalonEdit vs ScintillaNET. Any pitfalls and advantages of one over the other. We need to support both C# and IronPython as scripting languages. (At least that is the initial plan. We might finalize on one of it though).

One of the downsides of ScintillaNET is that it is just a managed wrapper around the native (unmanaged) Scintilla. Is this going to cause any issues when used with WPF4.

Any pointers and suggestions are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:46:07+00:00Added an answer on May 27, 2026 at 10:46 pm

    I think this depends on how many features you want to implement in the editor. Also how much work you are willing to put in to extend it and how much of a learning curve you are willing to deal with.

    If you are targetting Win32 and you don’t mind the unmanaged dll then I think Scintilla.NET won’t be a problem. Also you can easily host it in WPF as this page suggests.

    Personally I felt that Scintilla performs better than AvalonEdit. It also is easier to get started with a basic editor, and provides a lot out of the box, for instance Scintilla provides code folding out of the box.

    With AvalonEdit you have to create a folding strategy and parse the document yourself, This is what I had to do to support IronPython for AvalonEdit which I haven’t implemented yet.

    All I needed to support an IronPython editor in scintilla was the SciLexer.dll in the search path and the Scintilla.net assembly and the following configuration:

    private void Form1_Load(object sender, EventArgs e)
        {
            this.scintilla1 = new ScintillaNet.Scintilla();
            this.scintilla1.ConfigurationManager.Language = "python";
            this.scintilla1.Indentation.ShowGuides = true;
            this.scintilla1.Indentation.SmartIndentType = ScintillaNet.SmartIndent.Simple;
            this.scintilla1.Location = new System.Drawing.Point(0, 0);
            this.scintilla1.Margins.Margin0.Width = 40;
            this.scintilla1.Margins.Margin2.Width = 20;
            this.scintilla1.Name = "scintilla1";
            this.scintilla1.TabIndex = 4;
            this.scintilla1.Whitespace.Mode = ScintillaNet.WhitespaceMode.VisibleAfterIndent;
            this.scintilla1.Dock = DockStyle.Fill;
            this.Controls.Add(this.scintilla1);
        }
    

    For AvalonEdit you have to load an external highlighter file, you can see the this blog post for more info. So if you want the basics (highlighting, folding for python+c#) my conclusion is schintilla is easier and performs better. Although with AvalonEdit you might be able to do more in the end if you are willing to put in the effort and deal with the learning curve. At the moment I am using Scintilla as my stable editor and am experimenting with Avalon as a proof of concept. Perhaps I will form new opinions too as I learn more about the editor.

    Good luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was working on a project which includes developing an application using java sockets.
I am working on a project built in WPF, which includes an embedded WebBrowser.
I am working on a project which includes an Android application which is used
I have a WiX project that I am working on which includes a Windows
I'm working on a project which includes some slightly more complex dynamic layout of
I'm working on an ASP.NET MVC 2 / .NET 3.5 project which includes SSRS
I'm working on a project which includes generating pie and bar graph charts on
I am currently working on a PHP project which includes extensive database usage. The
I am working on a project that includes a Mac application and an iPad
I am working on a project, which includes a searching task by entering the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.