Cursor parameter in a sub-select can not be highlighted

Claus Pedersen

Member³
I have the code:

Code:
CURSOR tester (param INT) IS
  SELECT *
  FROM   dual
  WHERE  dummy = param
  AND    (SELECT 1
          FROM   dual
          WHERE  dummy = param) = 1;

When I place the cursor on the parameter param in line 1, the instances in lines 4 and 7 are highlighted.
When I place the cursor on the parameter param in line 4, the instances in lines 1 and 7 are highlighted.
When I place the cursor on the parameter param in line 7, nothing is highlighted.

Same problem if the sub-select is e.g. an EXISTS clause or just a table sub-select select like the following:

Code:
SELECT *
FROM   (SELECT *
        FROM   dual
        WHERE  param = 1);

It looks like PLD has a problem parsing the code inside the parenthesis. Please fix this issue.

I am using version 16.0.3.2156
 
Back
Top