Repost: numbers are not always shown correctly in editor

Claus Pedersen

Member³
This is a repost from the PL/SQL developer forum, but since issue has been partly solved in beta 9, I continue the post here.

The original post can be found here.

The example code is:
Code:
DECLARE
  i NUMBER;
BEGIN
  FOR x IN 3..6 LOOP
    i := 1E2 * .5 * 0.4;
  END LOOP;
END;

Partly solved in beta 9:
the numbers in line 5 (the assignment of i) are correct, even e.g. 1e-2 is shown correctly as one number.
But 3..6 is shown incorrectly with the dots marked in blue. They should be white as they are not a part of a number. Also -3..6 is not shown correctly, as -3 is a number and is not marked as such.

The following examples should all be shown with the same color coding, even if there are spaces or not:

Code:
FOR x IN -10...3 LOOP
FOR x IN - 10...3 LOOP
FOR x IN - 10 ...3 LOOP
FOR x IN - 10 .. .3 LOOP

-10 and .3 are numbers and must always be shown in all blue
.. are syntax elements and must always be shown in all white
 
Back
Top