Syntax highlight bug: too many instances of parameter/variable are highlighted when having same name

Claus Pedersen

Member³
I have the following code:
Code:
PROCEDURE tester IS
  CURSOR cur1 (parm IN NUMBER) IS
    SELECT 'x'
    FROM   dual
    WHERE  parm = 1;
  CURSOR cur2 (parm IN NUMBER) IS
    SELECT 'x'
    FROM   dual
    WHERE  parm IS NOT NULL AND
    AND    cur2.parm = 2;
  parm NUMBER;
BEGIN
  OPEN c_cur1 (parm => parm);
END;

When I place the cursor on the variable parm in the OPEN ... statement, all instances of variable and parameter parm are highlighted, even in the cursors. The parameter reference cur2.parm is not treated correctly; it is not highlighted when I place the cursor on the parameter parm in cursor cur2 and when I place the cursor on cur2.parm, cur2 is highlighted (?!)
 
Back
Top