### Apache NetBeans version Apache NetBeans 27 ### What happened NetBeans 27: https://github.com/user-attachments/assets/aa134c25-3f3d-4548-9f23-4d88721a03d2 NetBeans 26: https://github.com/user-attachments/assets/225292bd-4182-44c5-b18e-86dcc78ac102 ### 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