Errors in variable highlighting

Claus Pedersen

Member³
I am using version 7.1.1.1339.

1) In the program editor, when the cursor is on a keyword that can not be parsed in the context, all occurences of this keyword are highlighted, as if it was a variable.

2) When a variable is highlighted and marked, for instance for copying, the marking disappears, even if the cursor is still on the variable.
 
Try the following in a program window:
Code:
CREATE OR REPLACE FUNCTION MyTest RETURN NUMBER  IS
  NUMBER /* <- place cursor here */
  MyNumber CONSTANT NUMBER DEFAULT 1;
BEGIN
  RETURN MyNumber;
END;
If you place the cursor on the reserved word NUMBER in line two, all occurences if the word NUMBER are highlighted. If you replace the word NUMBER by the word RETURN, the situation is the same.

This is not a big deal, it only occurs under very special circumstances. But when it happens, it can be quite surprising.
 
Back
Top