EasyScintilla 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package EasyScintilla --version 1.0.4                
NuGet\Install-Package EasyScintilla -Version 1.0.4                
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="EasyScintilla" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasyScintilla --version 1.0.4                
#r "nuget: EasyScintilla, 1.0.4"                
#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.
// Install EasyScintilla as a Cake Addin
#addin nuget:?package=EasyScintilla&version=1.0.4

// Install EasyScintilla as a Cake Tool
#tool nuget:?package=EasyScintilla&version=1.0.4                

EasyScintilla

A (hopefully) easier way to use ScintillaNET in Windows Forms

Installation

The easiest way to install is to use NuGet!

> Install-Package EasyScintilla

Usage

The goal was to make Scintilla as easy as possible to drop into a Windows Forms project.

From the forms designer, simply drag the SimpleEditor control from the toolbox onto the form.

Then, in the code behind set the Styler property.

this.simpleEditor1.Styler = new CSharpStyler();

That's it!

Common Issues

Some users have been having issues where the SimpleEditor control does not get added to the Designer Toolbox.

To fix that, follow these steps:

  1. If you've not done so already, install EasyScintilla
  2. Open up the Windows Forms Designer
  3. Right click on the empty space in the Toolbox, and click "Choose Items"
  4. Once it has finished loading, click Browse.
  5. Navigate to your project directory, and look for the folder called "packages". This is where Visual Studio saves your NuGet packages after you install them.
  6. Navigate to [solution_root]\packages\jacobslusser.ScintillaNET.3.6.3\lib\net40 and choose the file ScintillaNET.dll and click OK.
  7. Navigate to [solution_root]\packages\EasyScintilla.1.0.3\lib\net40 and choose EasyScintilla.dll and click OK.
  8. Click OK.
  9. You should now see both the Scintilla and SimpleEditor controls appear in the Toolbox. Scintilla is the base editor from Scintilla.NET and SimpleEditor is from this project.

Stylers

I've built a few stylers into EasyScintilla, but I will happily take pull requests for new stylers.

You can create your own stylers be deriving from the abstract class ScintillaStyler

Examples can be found in the Stylers Directory.

Built in stylers

Language Styler Class
C# CSharpStyler
HTML HtmlStyler
PowerShell PowerShellStyler
Python PythonStyler
Ruby RubyStyler
SQL SqlStyler
Teradata Parallel Transporter (TPT) TptStyler
Windows Batch BatchStyler
Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
1.0.5 40,777 10/5/2018
1.0.4 2,628 1/23/2018
1.0.3 2,868 6/23/2017
1.0.2 1,167 3/1/2017
1.0.1 1,032 2/24/2017
1.0.0 982 2/24/2017

Added "Dark C# Styler" and C# Keyword Improvements