Changing window type from Program window to Command window removes last slash

Claus Pedersen

Member³
I have a file with content:
Code:
COMMENT ON COLUMN myTable.myColumn1 IS 'Comment on column 1'
/
COMMENT ON COLUMN myTable.myColumn2 IS 'Comment on column 2'
/

I open this file in PLD by dragging it into the program. The file is opened in a Program Window with two tab pages marked with '?'. I now change the window into Command window.

Now the last slash is gone. When I run my script, I am promted to end line two. I must now enter a slash manually to make the script run.

Changing back and forth between window types must not change any code, or at least the user should be warned that something may be missing.

If I open a file, make a change to something in the middle of the file, and save the file again, the last line of the file must not be missing. This should be a very basic rule for a text editor, don't you agree?
 
Back
Top