FarNet.EditorKit 2.5.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package FarNet.EditorKit --version 2.5.0
                    
NuGet\Install-Package FarNet.EditorKit -Version 2.5.0
                    
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="FarNet.EditorKit" Version="2.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FarNet.EditorKit" Version="2.5.0" />
                    
Directory.Packages.props
<PackageReference Include="FarNet.EditorKit" />
                    
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 FarNet.EditorKit --version 2.5.0
                    
#r "nuget: FarNet.EditorKit, 2.5.0"
                    
#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 FarNet.EditorKit@2.5.0
                    
#: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=FarNet.EditorKit&version=2.5.0
                    
Install as a Cake Addin
#tool nuget:?package=FarNet.EditorKit&version=2.5.0
                    
Install as a Cake Tool

EditorKit

FarNet module for Far Manager editor configuration and tools.

Installation

How to install and update FarNet and modules:
https://github.com/nightroman/FarNet#readme


Editor configuration

EditorKit uses .editorconfig files (see EditorConfig) and its own settings for extras (see Module settings).

Supported EditorConfig settings:

trim_trailing_whitespace = true | false
insert_final_newline = true | false
indent_style = tab | space
indent_size = <number>
charset = utf-8 | utf-8-bom | utf-16le | utf-16be

If an editor file does not have some settings or they are set to unsupported values then the module ignores them and Far Manager current settings apply.


Editor drawers

The module provides the following color drawers:

  • Current word - colors occurrences of the current word
  • Fixed column - colors custom columns (80, 120)
  • Tabs - colors tabs

In order to toggle a drawer, use the menu: [F11] / FarNet / Drawers.


Settings

Drawer file masks: F9 / Options / Plugin configuration / FarNet / Drawers.

  • Mask - file mask to enable the drawer on opening
  • Priority - drawer color priority

Common settings: F11 / FarNet / Settings / EditorKit.

  • Colorer types set by file masks
  <ColorerTypes>
    <ColorerType Type="config" Mask="*.env" Full="false" />
    <ColorerType Type="json" Mask="*.canvas" Full="false" />
    <ColorerType Type="text" Mask="*\logs\*.*" Full="true" />
  </ColorerTypes>
  • CurrentWord/WordRegex

    The regular expression for "words".

    Default: \w[-\w]*

  • CurrentWord/ExcludeCurrent

    Tells to not color the current word.

    Default: false

  • FixedColumn/ColumnNumbers

    Defines the numbers of highlighted columns.

    Default: 80, 120

  • .../ColorForeground, .../ColorBackground

    Valid colors: Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White.

    With the plugin FarColorer Current word uses ColorBackground and preserves the foreground if possible, else uses ColorForeground.


There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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.6.0 0 1/22/2026
2.5.0 32 1/20/2026
2.4.0 274 11/16/2025
2.3.0 172 10/25/2025
2.2.2 288 5/5/2025
2.2.1 150 5/3/2025
2.2.0 266 4/22/2025
2.1.0 242 1/7/2025
2.0.1 547 11/24/2023
2.0.0 226 11/19/2023
1.0.2 546 6/5/2023
1.0.1 524 1/1/2023
1.0.0 518 11/18/2022
0.1.2 657 8/25/2022
0.1.1 677 7/21/2022
0.1.0 686 7/19/2022
0.0.4 630 7/10/2022
0.0.3 637 2/11/2021
0.0.2 697 12/26/2020
0.0.1 720 12/26/2020