ScintillaNET alternatives and similar packages
Based on the "GUI" category.
Alternatively, view ScintillaNET alternatives based on common mentions on social networks and blogs.
MaterialDesignInXamlToolkit9.8 8.8 L4 ScintillaNET VS MaterialDesignInXamlToolkitGoogle's Material Design in XAML & WPF, for C# & VB.Net.
Avalonia9.8 9.9 L3 ScintillaNET VS AvaloniaDevelop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
MahApps.Metro9.7 7.9 L2 ScintillaNET VS MahApps.MetroA framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
Xamarin.Forms9.5 7.1 L3 ScintillaNET VS Xamarin.FormsXamarin.Forms Official Home
UWP Community Toolkit9.4 8.5 L3 ScintillaNET VS UWP Community ToolkitThe Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
Windows UI LibraryWindows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
HandyControl9.0 6.7 ScintillaNET VS HandyControlContains some simple and commonly used WPF controls
Modern UI for WPF - MUIModern UI for WPF
MaterialSkin8.6 0.0 L2 ScintillaNET VS MaterialSkinTheming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
Eto.Forms8.4 5.7 L3 ScintillaNET VS Eto.FormsCross platform GUI framework for desktop and mobile applications in .NET
Fluent.Ribbon8.1 7.9 L3 ScintillaNET VS Fluent.RibbonWPF Ribbon control like in Office
DockPanelSuite8.1 0.0 L2 ScintillaNET VS DockPanelSuiteDockPanel Suite - The Visual Studio inspired docking library for .NET WinForms
metroframework-modern-ui7.9 0.0 L2 ScintillaNET VS metroframework-modern-uiMy humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
Dragablz7.5 0.0 L4 ScintillaNET VS DragablzDragable and tearable tab control for WPF
AvalonEdit7.5 1.2 L3 ScintillaNET VS AvalonEditThe WPF-based text editor component used in SharpDevelop
Ooui7.2 0.0 ScintillaNET VS OouiA small cross-platform UI library that brings the simplicity of native UI development to the web
FastColoredTextBox7.2 0.0 L1 ScintillaNET VS FastColoredTextBoxFast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
XWT7.0 3.1 L3 ScintillaNET VS XWTA cross-platform UI toolkit for creating desktop applications with .NET and Mono
AdonisUI6.7 0.0 ScintillaNET VS AdonisUILightweight UI toolkit for WPF applications offering classic but enhanced windows visuals
Qml.Net6.6 0.0 ScintillaNET VS Qml.NetQml.Net - Qt/QML integration/support for .NET
WinApi5.9 0.0 ScintillaNET VS WinApiA simple, direct, ultra-thin CLR library for high-performance Win32 Native Interop
Ookii.Dialogs.WpfAwesome dialogs for Windows Desktop applications built with Microsoft .NET (WPF)
QtSharp5.4 0.0 ScintillaNET VS QtSharpMono/.NET bindings for Qt
Gtk#5.3 0.0 L2 ScintillaNET VS Gtk#Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
Callisto4.9 0.0 L3 ScintillaNET VS CallistoA control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
Ookii.Dialogs.WinFormsAwesome dialogs for Windows Desktop applications built with Microsoft .NET (WinForms)
SciterSharp2.9 7.0 L3 ScintillaNET VS SciterSharpCreate .NET cross-platform desktop apps using not just HTML, but all features of Sciter engine: CSS3, SVG, scripting, AJAX, <video>... Sciter is free for commercial use
Lara2.8 5.9 ScintillaNET VS LaraLara Web Engine is a lightweight C# framework for web user interface development.
Empty Keys UI2.2 0.0 L2 ScintillaNET VS Empty Keys UIUser Interface Generator
ObjectListView1.6 0.0 L1 ScintillaNET VS ObjectListViewgit clone of https://objectlistview.svn.sourceforge.net/svnroot/objectlistview/cs/trunk
Bunifu UI FrameworkSocial App dark UI built with Bunifu UI Framework Ultimate Bundle
Office RibbonA library that implements MS Office Ribbon for WinForms.
TestGPT | Generating meaningful tests for busy devs
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ScintillaNET or a related project?
ScintillaNET is a Windows Forms control, wrapper, and bindings for the versatile Scintilla source code editing component.
"As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts." -- scintilla.org
ScintillaNET can also be used with WPF using the WindowsFormsHost.
ScintillaNET is in active development. If you find any issues or just have a question feel free to use the Issues feature at our GitHub page.
Compiled versions which are production ready can be downloaded from NuGet or the Releases page.
For the latest and greatest you can build the Master branch from source using Visual Studio 2015.
A fairly vibrant ScintillaNET community exists here on GitHub. We specifically recommend you look at the following projects:
- The ScintillaNET.Demo project to see ScintillaNET used in an easy to understand, well-documented text editor (thanks to @robinrodricks)
- The ScintillaNET-Kitchen project for seeing the effect of some of ScintillaNET's features in real time and generating boilerplate code for configuring styles (thanks to @uuf6429)
- The ScintillaNET-FindReplaceDialog project for adding a Find/Replace dialog to ScintillaNET (thanks to @Stumpii)
- The SintillaNetPrinting project for adding printer support to ScintillaNET (thanks to @poloab).
Additional projects and user-submitted code are tracked in the User Submitted Recipes page of the wiki.
This project is a rewrite of the ScintillaNET project hosted at CodePlex and maintained by myself and others. After many years of contributing to that project I decided to think differently about the API we had created and felt I could make better one if I was willing to go back to a blank canvas. Thus, this project is the spiritual successor to the original ScintillaNET but has been written from scratch.
First Class Characters
One of the issues that ScintillaNET has historically suffered from is the fact that the native Scintilla control operates on bytes, not characters. Prior versions of ScintillaNET did not account for this, and when you're dealing with Unicode, one byte doesn't always equal one character. The result was an API that sometimes expected byte offsets and at other times expected character offsets. Sometimes things would work as expected and other times random failures and out-of-range exceptions would occur.
No more. One of the major focuses of this rewrite was to give ScintillaNET an understanding of Unicode from the ground up. Every API now consistently works with character-based offsets and ranges just like .NET developers expect. Internally we maintain a mapping of character to byte offsets (and vice versa) and do all the translation for you so you never need to worry about it. No more out-of-range exceptions. No more confusion. No more pain. It just works.
The second most popular ScintillaNET issue was confusion distributing the ScintillaNET DLL and its native component, the SciLexer DLL. ScintillaNET is a wrapper. Without the SciLexer.dll containing the core Scintilla functionality it is nothing. As a native component, SciLexer.dll has to be compiled separately for 32 and 64-bit versions of Windows. So it was actually three DLLs that developers had to ship with their applications.
This proved a pain point because developers often didn't want to distribute so many libraries or wanted to place them in alternate locations which would break the DLL loading mechanisms used by PInvoke and ScintillaNET. It also causes headaches during design-time in Visual Studio for the same reasons.
To address this ScintillaNET now embeds a 32 and 64-bit version of SciLexer.dll in the ScintillaNET DLL. Everything you need to run ScintillaNET in one library. In addition to soothing the pain mentioned above this now makes it possible for us to create a ScintillaNET NuGet package.
Keeping it Consistent
Another goal of the rewrite was to accept the original Scintilla API for what it is and not try to coerce it into a .NET-style API when it should not or could not be. A good example of this is how ScintillaNET uses indexers to access lines, but not treat them as a .NET collection. Lines in a Scintilla control are not items in a collection. There is no API to Add, Insert, or Remove a line in Scintilla and thus we don't try to create one in ScintillaNET. These deviations from .NET convention are rare, but are done to keep any native Scintilla documentation relevant to the managed wrapper and to avoid situations where trying to force the original API into a more familiar one is more detrimental than helpful.
NOTE: This is not to say that ScintillaNET cannot add, insert, or remove lines. Those operations, however, are handled as text changes, not line changes.
Complete API documentation is included with all of our packages. In addition there is extensive documentation at the project Wiki which has recipes for common tasks and questions. If you're new to ScintillaNET, the Wiki is a good place to get started.
As previously noted in the project charter, great effort has been made to keep the ScintillaNET API consist with the native Scintilla API. As such, the native Scintilla documentation continues to be a valuable resource for learning some of the deeper features.
Generally speaking, their API will map to ours in the following ways:
- A call that has an associated 'get' and 'set' such as
SCI_SETTEXT(value), will map to a similarly named property such as
- A call that requires a number argument to access an item in a 'collection' such as
SCI_STYLEGETSIZE(styleNumber, ...), will be accessed through an indexer such as
The native Scintilla control has a habit of clamping input values to within acceptable ranges rather than throwing exceptions and so we've kept that behavior in ScintillaNET. For example, the
GotoPosition method requires a character
position argument. If that value is less than zero or past the end of the document it will be clamped to either
0 or the
TextLength rather than throw an
OutOfRangeException. This tends to result in less exceptions, but the same desired outcome.
The MIT License (MIT)
Copyright (c) 2017, Jacob Slusser, https://github.com/jacobslusser
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*Note that all licence references and agreements mentioned in the ScintillaNET README section above are relevant to that project's source code only.