Patrick Holmes
Member²
Often when I copy from an email (using Outlook 2003) and paste it into a PL/SQL Developer SQL window, or vice-versa when I copy from a PL/SQL Developer SQL window into an email message, when I paste, I get blank lines.
So if I copy:
-- 04/27/2010 PDH
CREATE ROLE adminapp;
GRANT ALL ON casem.admins_app TO adminapp;
GRANT adminapp TO casez;
when I paste, I get:
-- 04/27/2010 PDH
[blank line]
CREATE ROLE adminapp;
[blank line]
GRANT ALL ON casem.admins_app TO adminapp;
[blank line]
GRANT adminapp TO casez;
i.e. I get a blank line between each line. If I paste to a simple text editor (e.g. TextPad) or MS-Word, I don't get the blank lines. In fact, my work-around is to paste into MS-Word, then re-copy, so I have to copy/open-MS-Word/paste/copy/paste--more than twice as much work. That "fixes" the problem. But this is driving me a little crazy and slows me down--probably happens daily. I have not figured out what causes it, but when it does happen the syntax color-coding is retained.
If you can't fix this problem or don't have a faster work-around, perhaps you could add options to the Edit menu for "Copy Text-Only" and "Paste Text-Only", or something like that. (For a comparison, note that MS-Word, MS-Excel and other programs have a "Paste Special" option which allows for various kinds of pasting.)
thanks,
pat holmes
So if I copy:
-- 04/27/2010 PDH
CREATE ROLE adminapp;
GRANT ALL ON casem.admins_app TO adminapp;
GRANT adminapp TO casez;
when I paste, I get:
-- 04/27/2010 PDH
[blank line]
CREATE ROLE adminapp;
[blank line]
GRANT ALL ON casem.admins_app TO adminapp;
[blank line]
GRANT adminapp TO casez;
i.e. I get a blank line between each line. If I paste to a simple text editor (e.g. TextPad) or MS-Word, I don't get the blank lines. In fact, my work-around is to paste into MS-Word, then re-copy, so I have to copy/open-MS-Word/paste/copy/paste--more than twice as much work. That "fixes" the problem. But this is driving me a little crazy and slows me down--probably happens daily. I have not figured out what causes it, but when it does happen the syntax color-coding is retained.
If you can't fix this problem or don't have a faster work-around, perhaps you could add options to the Edit menu for "Copy Text-Only" and "Paste Text-Only", or something like that. (For a comparison, note that MS-Word, MS-Excel and other programs have a "Paste Special" option which allows for various kinds of pasting.)
thanks,
pat holmes