Skip to content

PHP: The highlight position for marking occurrences is not recalculated after editing the code #8803

@troizet

Description

@troizet

Apache NetBeans version

Apache NetBeans 27

What happened

NetBeans 27:

netbeans_27.mp4

NetBeans 26:

netbeans_26.mp4

Language / Project Type / NetBeans Component

PHP

How to reproduce

  • Enable highlighting setting Keep Marks
  • Create new project Calculator - PHPUnit Sample Application
  • Open for editing src/Calculator.php
  • Set cursor to divide
  • Wait for highlighting
  • Set cursor to another position
  • Enter something

Did this work correctly in an earlier version?

Apache NetBeans 26

Operating System

Ubuntu 22.04.5 LTS

JDK

OpenJDK 64-Bit Server VM 17.0.16+8-Ubuntu-0ubuntu122.04.1

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Labels

PHP[ci] enable extra PHP tests (php/php.editor)kind:bugBug report or fix

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions