notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[BUG] Batch Strings Not Colored or Indicated

Open
#17,841 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Is there an existing issue for this?
  • I have searched the existing issues
Is the issue reproducible in Notepad++ without plugin?
  • I have tried Notepad++ without plugin
Is the issue reproducible in portable version of Notepad++?
  • I have tried portable version of Notepad++
Does the issue affect SciTE?
  • I have tried SciTE
Description of the Issue

When writing batch scripts, using " or ' comments never change encapsulated text from default color.

Steps To Reproduce
  1. type a string encapsulated in " or '
  2. color, bold, and italics remain unchanged from default text
Current Behavior

When writing batch, I use strings often for variable translation in file names. Since the string delimiters have no visible effect, it takes forever to track down missing quotation marks.

Expected Behavior

I expected the color to change to a readably and discernably.

Debug Information
Notepad++ v8.9.1   (64-bit)
Build time: Jan 18 2026 - 22:45:31
Scintilla/Lexilla included: 5.5.8/5.4.6
Boost Regex included: 1_90
pugixml included: 1.15
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: "C:\Program Files\Notepad++\change.log" 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
Periodic Backup: ON
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)
Dark Mode: ON
Display Info:
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - NVIDIA GeForce RTX 2060
        0000: DriverVersion - 32.0.15.9174
OS Name: Windows 10 Home (64-bit)
OS Version: 22H2
OS Build: 19045.6466
Current ANSI codepage: 1252
Plugins: 
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)
Anything else?
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Notepad++ without plugins by opening a batch script and entering strings enclosed in double or single quotes. Inspect how batch-language syntax highlighting handles those delimiters. Done means the enclosed text is visibly distinguished from default text so missing quotation marks are easier to find.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.