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

[BUG] Batch Strings Not Colored or Indicated

オープン
#17,841 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C++
スター
29.4k
フォーク
5.4k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

プラグインを使用せずに Notepad++ でバッチスクリプトを開き、二重引用符または単一引用符で囲まれた文字列を入力して、問題を再現します。バッチ言語の構文強調表示がこれらの区切り文字をどのように処理するかを確認します。囲まれたテキストがデフォルトのテキストと視覚的に区別され、欠落している引用符を見つけやすくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。