Claus Pedersen
Member³
I have the following code:
When I place the cursor in "myArray.first" in line 5, the rest of the occurrences are highlighted, but not the present one.
If I place the cursor on another instance of myArray (myArray.last, or line 3 or 6), all instances of myArray are highlighted.
If I add a space after myArray.first in line 5 (so the line becomes FOR i IN myArray.first ..myArray.last LOOP), it all works.
Please fix this error.
Code:
PROCEDURE test IS
TYPE myArrayType IS TABLE OF INT INDEX BY PLS_INTEGER;
myArray myArrayType;
BEGIN
FOR i IN myArray.first..myArray.last LOOP
IF myArray.first > 0 THEN
NULL;
END IF;
END LOOP;
END;
When I place the cursor in "myArray.first" in line 5, the rest of the occurrences are highlighted, but not the present one.
If I place the cursor on another instance of myArray (myArray.last, or line 3 or 6), all instances of myArray are highlighted.
If I add a space after myArray.first in line 5 (so the line becomes FOR i IN myArray.first ..myArray.last LOOP), it all works.
Please fix this error.