NotepadSharp.Scintilla.NET.Gtk
2.0.5
dotnet add package NotepadSharp.Scintilla.NET.Gtk --version 2.0.5
NuGet\Install-Package NotepadSharp.Scintilla.NET.Gtk -Version 2.0.5
<PackageReference Include="NotepadSharp.Scintilla.NET.Gtk" Version="2.0.5" />
<PackageVersion Include="NotepadSharp.Scintilla.NET.Gtk" Version="2.0.5" />
<PackageReference Include="NotepadSharp.Scintilla.NET.Gtk" />
paket add NotepadSharp.Scintilla.NET.Gtk --version 2.0.5
#r "nuget: NotepadSharp.Scintilla.NET.Gtk, 2.0.5"
#:package NotepadSharp.Scintilla.NET.Gtk@2.0.5
#addin nuget:?package=NotepadSharp.Scintilla.NET.Gtk&version=2.0.5
#tool nuget:?package=NotepadSharp.Scintilla.NET.Gtk&version=2.0.5
Scintilla.NET.Gtk
A cross-platform GTK# implementation of Scintilla.NET for Linux, Windows, and macOS
This is a GtkSharp implementation of Scintilla.NET with cross-platform support.
Platform Support
| Platform | Status | Architecture | Native Libraries |
|---|---|---|---|
| 🐧 Linux | ✅ Fully Supported | x64 | libscintilla.so, liblexilla.so |
| 🪟 Windows | ✅ Ready (binaries needed) | x64, x86 | scintilla.dll, lexilla.dll |
| 🍎 macOS | ✅ Ready (binaries needed) | x64, ARM64 | libscintilla.dylib, liblexilla.dylib |
The library automatically detects your platform and loads the appropriate native libraries at runtime.
Features
- 🎯 Cross-Platform: Single codebase runs on Linux, Windows, and macOS
- 🔄 100% Backward Compatible: Existing Linux code works without changes
- 🚀 Automatic Platform Detection: No manual configuration needed
- 📦 NuGet Ready: Runtime-specific native library packaging
- 🎨 Full Scintilla Features: Syntax highlighting, code folding, auto-completion, and more
Quick Start
using ScintillaNet.Gtk;
using Gtk;
Application.Init();
var window = new Window("Cross-Platform Editor");
var scintilla = new Scintilla();
scintilla.Text = "// Works on Linux, Windows, and macOS!\n";
scintilla.StyleSetFont(Style.Default, "Consolas");
window.Add(scintilla);
window.ShowAll();
Application.Run();
Installation
dotnet add package Scintilla.NET.Gtk
Note: The project is currently in beta. Please report bugs and issues via pull requests.
Documentation
- 📖 Developer Guide - Complete API reference and usage examples
- 🔄 Cross-Platform Migration Guide - Detailed migration and deployment instructions
- 🏗️ Cross-Platformization Plan - Technical architecture and implementation details
Architecture
The library uses a platform abstraction layer that:
- Detects the runtime platform using
System.Runtime.InteropServices.RuntimeInformation - Loads platform-specific native libraries dynamically
- Provides a unified API across all platforms
See Platform/README.md for technical details.
Version Information
Current Version: 2.0.0 (Cross-Platform Release)
The package uses semantic versioning with a fourth number indicating the native Scintilla version:
- Example:
2.0.0.5320→ Scintilla 5.3.2.0
What's New in 2.0
- ✅ Cross-platform support (Linux, Windows, macOS)
- ✅ Automatic platform detection
- ✅ Runtime-specific native library packaging
- ✅ Enhanced build system
- ✅ Comprehensive documentation
- ✅ 100% backward compatibility
Native Libraries
Linux (Included)
The embedded lib*.so libraries have been built on Linux Mint. They are automatically copied to the output directory.
Windows & macOS
Native binaries for Windows and macOS can be built from the official Scintilla source or obtained from pre-built packages. See the Cross-Platform Migration Guide for build instructions.
Test Application

Thanks to
- JetBrains for their open source license(s).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- GtkSharp (>= 3.24.24.38)
- Scintilla.NET.Abstractions (>= 1.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.