MS-Edit 2.0 Adds Color-Coded Syntax to Microsoft's Console Editor
The update brings a long-requested feature to a built-in Windows console editor, making it more viable for quick command-line text editing without installing third-party tools.
Reporting from 1 source: ASCII.jp.
Microsoft's console text editor MS-Edit has been updated to version 2.0, introducing color-coded syntax for multiple languages and data formats. The feature uses a custom Lightweight Syntax Highlighter (LSH) system that applies regex-based pattern matching to color keywords, strings, and other elements. MS-Edit is bundled with Windows 11 25H2, though that build ships version 1.2.1. The new version is available separately.
MS-Edit 2.0's color-coded syntax is powered by a custom LSH system that compiles pattern definitions into virtual machine code for faster execution. The editor does not understand language grammar; it matches regular expressions against lines and applies color and text attributes (bold, italic, underline). Currently only 16 colors are available, with five bright and one normal color assigned. The LSH language itself is not fully documented, so writing custom definitions may require reading the compiler source code. MS-Edit remains a lightweight alternative to Vim, Emacs, or VSCode for terminal-based editing, and its inclusion in Windows 11 25H2 means it is always available via the 'edit' command.
Synthesized by Yomimono from the 1 cited source below, including Japanese-language reporting where cited, then editorially reviewed before publishing.