Copy & Paste problem with yellow marker

Roeland

Member³
Hi,

When compiling a package, it sometimes ;) happen that there are errors in the source code.
These errors are marked with a yellow marker if you select the error warnings. That's a nice feature.

BUT if you copy and paste that line, PL/SQL dev will insert an empty line where the marker was.

PL/SQL Dev version 7.1.5.1398

Roeland
 
Of course.
Header:

Code:
create or replace package PK_TEST is

  procedure Test1 (AParam in pls_integer);

end PK_TEST;
Body

Code:
create or replace package body PK_TEST is

  procedure Test1 (AParam in pls_integer) is
  begin
    1
    2
  end Test1;

end PK_TEST;
Now:
1) Compile this package (gives an error on the '1')
2) Select and copy the whole lines with 1 and 2.
3) Paste this lines again in the package. It doesn't matter where.

Result:

Code:
create or replace package body PK_TEST is

  procedure Test1 (AParam in pls_integer) is
  begin
    1
    2
  end Test1;
    1

    2

end PK_TEST;
When pasting in UltraEdit, I see that PL/SQL dev has introduced an extra Carriage Return after the '1'.
 
Strange. I can't reproduce this. Can you go to Help > Support Info, press the 'Copy all pages' button on this info screen, and paste this text into an e-mail reply?
 
Odd - I've always noticed that behavior. If I have an error in a package that has a line displayed with a yellow hightlight, copying lines (that include the yellow highlighted line) and pasting the lines somewhere else always has an extra blank line added after the highlighted line. (Current version: 7.1.4.1390)
 
Back
Top