Skip to content

[BUG] Visual error on code below of printf comand on editing PHP language #15801

@npfdr

Description

@npfdr

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

When editing a PHP file that contains the printf command with a line break, the entire command below is visually as if it were between the lines ""

Steps To Reproduce

  1. New file
  2. Change language to PHP
  3. Enter basic code:
  4. printf("");
  5. ?>
  6. Break a line in the middle of "" and write any text
  7. All text below "" will turn blue as if it were enclosed in quotation marks

Current Behavior

All code just below a line break that is between the quotation marks of a printf turns blue
blue

Expected Behavior

Only the code between quotation marks in a printf should be blue, regardless of any line break

Debug Information

Notepad++ v8.7.1   (64-bit)
Build time : Oct 31 2024 - 00:48:56
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 24H2
OS Build : 26100.2314
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

No response

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