Highlighting Parameters goes wrong sometimes

Roeland

Member³
PLSQL/Developer v7.1.5.1398

Example 1:

Code:
function TEST (p_Input in pls_integer)
                  return pls_integer is
  begin
    return -p_Input;
  end ;

when your cursor is on "p_Input" => "-p_Input" is also highlighted

Now example 2:

Code:
function TEST (p_Input in pls_integer)
                  return pls_integer is
    result pls_integer;
  begin
    result := -p_Input;
    return result;
  end ;

when your cursor is on "p_Input" => "-p_Input" is NOT highlighted

Roeland
 
Last edited:
Just to add some detailing: it is the minus-sign before p_Input that causes the error. If you remove it or write 0-p_Input, it works OK
 
Back
Top