Open
Description
Apache NetBeans version
Apache NetBeans 26
What happened
When the "Mark Occurrences Of Symbol Under Caret" highlighting setting is enabled for PHP, disabling the additional "Keep Marks" setting does not seem to have an effect. Highlighting always behaves as if the "Keep Marks" setting was enabled.
Language / Project Type / NetBeans Component
PHP project
How to reproduce
With the following settings:
- Tools > Options > Editor > Highlighting
- Language: PHP
- Mark Occurrences Of Symbol Under Caret: Checked
- Keep Marks: Unchecked
Move the cursor for example over a PHP variable to get it highlighted, and then away from the variable to an empty line. The variable and its occurrences stay highlighted.
Did this work correctly in an earlier version?
Apache NetBeans 24
Operating System
Kubuntu 24.04
JDK
OpenJDK 21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No