Skip to content

[Feature request] Support all 16 standard ANSI colors in ErrorLexer #17114

@nerdfever

Description

@nerdfever

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

ErrorLexer supports only 8 of the 16 standard ANSI colors (not the 'bright' ones).

Virtually every terminal supports all 16. Per Wikipedia at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors all 16 are supported by:

  • Windows Console
  • WindowsPowerShell
  • Visual Studio Code
  • Windows 10 Console
  • Terminal.app
  • PuTTY
  • mIRC
  • xterm
  • Ubuntu
  • Eclipse Terminal

Describe the solution you'd like.

Support all 16 standard ANSI escape color sequences, including ESC[91m-97m.

Debug Information

Notepad++ v8.8.7   (64-bit)
Build time: Oct 19 2025 - 16:19:15
Scintilla/Lexilla included: 5.5.7/5.4.5
Boost Regex included: 1_85
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: "C:\Users\lindb\OneDrive\Desktop\DO_THIS.txt"
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
Periodic Backup: OFF
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only) + cdAutoUpdate
Dark Mode: OFF
Display Info:
    primary monitor: 7680x2160, scaling 125%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Intel(R) UHD Graphics 770
        0000: DriverVersion - 32.0.101.7040
        0001: Description - NVIDIA GeForce RTX 2060 SUPER
        0001: DriverVersion - 32.0.15.7688
        0002: Description - NVIDIA GeForce RTX 5070 Ti
        0002: DriverVersion - 32.0.15.7688
OS Name: Windows 11 Pro (64-bit)
OS Version: 25H2
OS Build: 26200.7019
Current ANSI codepage: 1252
Plugins: 
    HexEditor (0.9.14)
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)
    NPPJSONViewer (2.1.1)
    _CustomizeToolbar (5.3)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    lexilla dependentCan't be considered for N++ implementation unless/until Lexiilla changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions