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

Missing highlight for IMAGETYPE_WEBP #9020

Open
kras95 opened this issue Oct 15, 2020 · 1 comment
Open

Missing highlight for IMAGETYPE_WEBP #9020

kras95 opened this issue Oct 15, 2020 · 1 comment
Labels
language-support Issues or PRs related to programming languages (also e.g. in styles, themes)

Comments

@kras95
Copy link

kras95 commented Oct 15, 2020

Description of the Issue

IMAGETYPE_WEBP from the Imagetype Constants is not highlighted

Steps to Reproduce the Issue

  1. Open notepad++
  2. Switch programming language to PHP
  3. Open a <?php tag
  4. Type IMAGETYPE_WEBP inside the <?php tag

Expected Behavior

IMAGETYPE_WEBP should be highlighted in green like the other Imagetype Constants

Actual Behavior

IMAGETYPE_WEBP is not highlighted

Debug Information

Notepad++ v7.9 (32-bit)
Build time : Sep 22 2020 - 03:24:22
Path : D:\Programs\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.1139
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

image

@ArkadiuszMichalski
Copy link
Contributor

To get all constans just run (without searching in documentation):

<?php
print_r(get_defined_constants());
?>

or split into categories:

<?php
print_r(get_defined_constants(true));
?>

I've seen a bug with missing other constant #6097. I will just add that I get something around 2300 constants in my test environment. This IMAGETYPE_WEBP belongs to the standard category.
https://www.php.net/manual/en/function.exif-imagetype.php

@ArkadiuszMichalski ArkadiuszMichalski added the language-support Issues or PRs related to programming languages (also e.g. in styles, themes) label Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language-support Issues or PRs related to programming languages (also e.g. in styles, themes)
Projects
None yet
Development

No branches or pull requests

2 participants