Skip to content

8.4 PHP style is broken. #11602

@boris-999

Description

@boris-999

issue:
when viewing a .php file the colours for non-php-space change on an apostrophe.

if teh text was within the php-space it would make sense to consider it the start of a PHP string, but it's occuring outside the php-space. it's occuring in the regular text space.

i don't recall having this issue in npp 8.3.x

reproduce this issue

  1. <?php ?><html><body> isn't this awesome ..
  2. observe how the ' in the word isn't is being interpreted as a PHP string start token.

Expected Behavior

it to know the difference between being inside and outside PHP tags, when making style changes.

Debug Information

Notepad++ v8.4 (64-bit)
Build time : Apr 20 2022 - 03:31:06
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 2009
OS Build : 19044.1645
Current ANSI codepage : 1252
Plugins : JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll NppSnippets.dll NppXmlTreeviewPlugin.dll XMLTools.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions