CSharpTextEditor 0.1.12-alpha
dotnet add package CSharpTextEditor --version 0.1.12-alpha
NuGet\Install-Package CSharpTextEditor -Version 0.1.12-alpha
<PackageReference Include="CSharpTextEditor" Version="0.1.12-alpha" />
<PackageVersion Include="CSharpTextEditor" Version="0.1.12-alpha" />
<PackageReference Include="CSharpTextEditor" />
paket add CSharpTextEditor --version 0.1.12-alpha
#r "nuget: CSharpTextEditor, 0.1.12-alpha"
#:package CSharpTextEditor@0.1.12-alpha
#addin nuget:?package=CSharpTextEditor&version=0.1.12-alpha&prerelease
#tool nuget:?package=CSharpTextEditor&version=0.1.12-alpha&prerelease
<a href="https://www.nuget.org/packages/CSharpTextEditor/"></a> <a href="https://www.nuget.org/packages/CSharpTextEditor/">
</a>
CSharpTextEditor
A WinForms Control for displaying and editing C# code. Useful for creating and editing C# scripts from within your WinForms app.
It has the following features:
- Roslyn-based syntax highlighting
- Syntax/Compilation error reporting
- Supports Light mode (VS2022 Blue), Dark mode (VS2022 Dark), and custom palettes
- Handles most VS keyboard edit shortcuts
- Allows multi-caret editing via box select
- Gives code completion suggestions
- Undo/redo history
Installation
To install the NuGet package, run the following command in the Package Manager Console:
dotnet add package CSharpTextEditor
Getting Started
To get started, just place the CodeEditorBox control into your WinForms control/form and start writing some C#! You can set the text that goes into it using the SetText method, and get the text from it using GetText.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
-
net8.0-windows7.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
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 |
---|---|---|
0.1.12-alpha | 73 | 2/22/2025 |
0.1.11-alpha | 93 | 2/27/2024 |
0.1.10-alpha | 166 | 12/16/2023 |
0.1.9-alpha | 102 | 12/10/2023 |
0.1.8-alpha | 103 | 12/2/2023 |
0.1.7-alpha | 101 | 11/29/2023 |
0.1.5-alpha | 89 | 11/27/2023 |