Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Bug For "if exist <file path>" in Batch File #2165

Open
gcpreston opened this issue Aug 12, 2016 · 2 comments
Open

Color Bug For "if exist <file path>" in Batch File #2165

gcpreston opened this issue Aug 12, 2016 · 2 comments
Labels
scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes verified Issues verified to be valid and reproducible, PRs that have been tested thoroughly

Comments

@gcpreston
Copy link

Description of the Issue

In a batch file, if there is a space in the file path after an "if exist" or "if not exist" statement, the text after that path until the end of the path is blue, instead of black like the beginning of the path.

Steps to Reproduce the Issue

  1. Make a batch file.
  2. Type "if exist" or "if not exist".
  3. Type a file path with a space somewhere in it after the if statement.

Expected Behavior

It is expected that the file path is all black, at least if it is enclosed in quotes (the bug is both with and without quotes around the path).

Actual Behavior

The path before the space is black while the remainder of the path after the space is light blue.

capture

@MAPJe71
Copy link
Contributor

MAPJe71 commented Aug 12, 2016

Might be a Scintilla problem as it also occurs in SciTE.

Notepad++ v3.9.2
capture-npp392

SciTE v3.6.6
capture-wscite366

@MetaChuh MetaChuh added language-support Issues or PRs related to programming languages (also e.g. in styles, themes) verified Issues verified to be valid and reproducible, PRs that have been tested thoroughly labels Apr 24, 2019
@ArkadiuszMichalski
Copy link
Contributor

@ArkadiuszMichalski ArkadiuszMichalski added scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes and removed language-support Issues or PRs related to programming languages (also e.g. in styles, themes) labels Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes verified Issues verified to be valid and reproducible, PRs that have been tested thoroughly
Projects
None yet
Development

No branches or pull requests

4 participants