Numbers are not always shown correctly in editor

Claus Pedersen

Member³
I have the following code in an editor:
Code:
DECLARE
  i NUMBER;
BEGIN
  FOR x IN 3..6 LOOP
    i := 1E2 * .5 * 0.4;
  END LOOP;
END;

Note how the 3 is shown as a number (blue text colour) whereas 6 is not.
1E2 and .5 are not recognised as numbers but 0.4 is.

This is also an issue in 15 beta
 
This issue is partly solved in version 15.

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
.. (two dots) are syntax elements and must always be shown in all white (when using dark theme)
 
Back
Top