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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NotepadSharp.Scintilla.NET.Gtk" Version="2.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NotepadSharp.Scintilla.NET.Gtk" Version="2.0.5" />
                    
Directory.Packages.props
<PackageReference Include="NotepadSharp.Scintilla.NET.Gtk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NotepadSharp.Scintilla.NET.Gtk --version 2.0.5
                    
#r "nuget: NotepadSharp.Scintilla.NET.Gtk, 2.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NotepadSharp.Scintilla.NET.Gtk@2.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NotepadSharp.Scintilla.NET.Gtk&version=2.0.5
                    
Install as a Cake Addin
#tool nuget:?package=NotepadSharp.Scintilla.NET.Gtk&version=2.0.5
                    
Install as a Cake Tool

Scintilla.NET.Gtk

A cross-platform GTK# implementation of Scintilla.NET for Linux, Windows, and macOS

.NET .NET NuGet Release Nuget

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

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

image

Thanks to

  • JetBrains for their open source license(s).

JetBrains Logo (Main) logo

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.5 267 1/2/2026
2.0.3 297 11/28/2025
2.0.2 149 11/28/2025
2.0.1 153 11/28/2025
2.0.0 315 11/28/2025