<p>I'm looking for a quality WinForms component that supports syntax highlighting, code folding and the like. The key criteria are:</p>

<ol>
<li>Stability </li>
<li>Value (price)</li>
<li>Ability to easily customize syntax to highlight</li>
<li>Light weight</li>
</ol>

[{'answer_id': 41808, 'author': 'aku', 'author_id': 1196, 'author_profile': 'https://Stackoverflow.com/users/1196', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://www.icsharpcode.net/OpenSource/SD/" rel="nofollow noreferrer">ICSharpCode.TextEditor</a> is free and pretty stable.<br>\nAs for commercial solution Actipro\'s <a href="http://www.actiprosoftware.com/Products/DotNet/SyntaxEditor/Default.aspx" rel="nofollow noreferrer">SyntaxEditor</a> might be a best choice</p>\n'}, {'answer_id': 43526, 'author': 'Matt Warren', 'author_id': 4500, 'author_profile': 'https://Stackoverflow.com/users/4500', 'pm_score': 2, 'selected': False, 'text': '<p>Try out <a href="http://www.codeplex.com/ScintillaNET" rel="nofollow noreferrer">ScintillaNET</a> it\'s a .NET WinForms wrapper around the excellent <a href="http://scintilla.org/" rel="nofollow noreferrer">Scintilla</a> control. Scintilla itself is a free source code editor component that is very customisable and has all the features you asked for. See <a href="http://scintilla.sourceforge.net/SciTEImage.html" rel="nofollow noreferrer">here</a> for a screenshot.</p>\n'}, {'answer_id': 16391867, 'author': 'Jeremy Thompson', 'author_id': 495455, 'author_profile': 'https://Stackoverflow.com/users/495455', 'pm_score': 2, 'selected': False, 'text': '<p>Enhancing ICSharpCode.TextEditor was trivial compared with Scintilla.Net. Another huge benefit of ICSharpCode.TextEditor is that allows you to customize/build your own Syntax Highlighting, eg: <a href="https://github.com/icsharpcode/SharpDevelop/wiki/Syntax-highlighting" rel="nofollow">https://github.com/icsharpcode/SharpDevelop/wiki/Syntax-highlighting</a>.</p>\n\n<p><strong>BUT ICSharpCode.TextEditor is not stable</strong>, its riddled with AccessViolations: <a href="https://www.google.com.au/search?q=icsharpcode.texteditor+accessviolationexception" rel="nofollow">https://www.google.com.au/search?q=icsharpcode.texteditor+accessviolationexception</a></p>\n\n<p>You can see these AccessViolations first hand by downloading:\n<a href="http://www.codeproject.com/Articles/30936/Using-ICSharpCode-TextEditor" rel="nofollow">http://www.codeproject.com/Articles/30936/Using-ICSharpCode-TextEditor</a></p>\n\n<p>This build on GitHub behaves better in winforms, but in VSTO it still screams AccessViolations:\n<a href="https://github.com/KindDragon/ICSharpCode.TextEditor" rel="nofollow">https://github.com/KindDragon/ICSharpCode.TextEditor</a></p>\n\n<p>Same as <a href="http://www.digitalrune.com/Downloads/DigitalRuneTextEditorControl.aspx" rel="nofollow">DigitalRune\'s version of the ICsharp.TextEditor</a>.</p>\n\n<p>I\'d recommend the latest WPF implementation: <a href="http://www.codeproject.com/Articles/42490/Using-AvalonEdit-WPF-Text-Editor" rel="nofollow">ICSharp.AvalonEdit</a>.</p>\n\n<p>If you need to host this WPF control in Winforms:</p>\n\n<pre><code>public Form1()\n{\nInitializeComponent();\nICSharpCode.AvalonEdit.TextEditor te = new ICSharpCode.AvalonEdit.TextEditor();\nElementHost host = new ElementHost();\nhost.Size = new Size(200, 100);\nhost.Location = new Point(100, 100);\nhost.Child = te;\nthis.Controls.Add(host);\n}\n</code></pre>\n\n<p><hr>\nSome commercial ones I came across (note I\'m not affiliated with these companies):\n<a href="http://www.actiprosoftware.com/products/controls/windowsforms/syntaxeditor" rel="nofollow">http://www.actiprosoftware.com/products/controls/windowsforms/syntaxeditor</a>\n<a href="http://www.qwhale.net/products/editor.htm" rel="nofollow">http://www.qwhale.net/products/editor.htm</a></p>\n'}]
['https://Stackoverflow.com/questions/41796', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4398/']