bluemark - 2014-11-05

I've noticed that Notepad++ (6.9.9) doesn't highlight (in red) matching parentheses correctly (as it does with brackets).

In this simple batch code(.bat) -mentioned in this thread-
even though each of the parentheses pairs are in the same line :

IF NOT %batdate%==%override_date% (goto :DATE-OVERRIDE) ELSE (goto :DATE-CONFIRM)

highlighting works only when putting cursor on either of the second parentheses pair.
In the first pair highlighting doesn't work at all



Additionally, it doesn't highlight matching parentheses pairs
when either of the parentheses is not in the same line.
Example:

if %errorlevel% == 0 (
    echo OK
) else (
    echo NOT OK
)
 

Last edit: bluemark 2014-11-05