Print Thread
Command window, marking error message goes to source, can not copy directly afterwards
#63413 02/21/22 09:46 PM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
OP Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
I have a command window that causes an exception, shown with red text at the end of the run:
Code
BEGIN
  dbms_output.put_line (0/1);
  dbms_output.put_line (1/0);
END;
/
Normally, when clicking on a error message, the editor goes to the source for that error message.
But if I want to copy a part of that error message on the Dialog tab page, I mark the text, but then the editor shifts to the Editor tab page and I have to shift back to the Dialog tab page and press Ctrl-C to copy and optionally go back to the Editor tab page to search for occurences of the text.

Can this be optimised, so a single click using the 'hand' icon (and no marked text) will go to the Source tab page as now, but when text is marked, please stay with the focus on the marked text so it can be copied.

Re: Command window, marking error message goes to source, can not copy directly afterwards
Claus Pedersen #63418 02/22/22 07:19 AM
Joined: May 2007
Posts: 102
Tiel, The Netherlands
M
Member
Offline
Member
M
Joined: May 2007
Posts: 102
Tiel, The Netherlands
For me it works the way you want it to work. You just have to move the mouse cursor around until it becomes a text pointer (looking like a capital letter I) before starting to copy text in the dialog window. After copying the text this way the focus remains in the dialog window.

Re: Command window, marking error message goes to source, can not copy directly afterwards
Claus Pedersen #63429 02/22/22 10:29 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
We'll change it so that the Command Window does not automatically switch to the Editor when text is selected.


Marco Kalter
Allround Automations
Re: Command window, marking error message goes to source, can not copy directly afterwards
Marcel Hoefs #63434 02/22/22 10:57 AM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
OP Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
@Marco, thanks. This is really a small issue for me, as I do not use command window too often because it performs much worse than using e.g. SQL*Plus

Re: Command window, marking error message goes to source, can not copy directly afterwards
Marcel Hoefs #63435 02/22/22 11:01 AM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
OP Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Originally Posted by Marcel Hoefs
For me it works the way you want it to work. You just have to move the mouse cursor around until it becomes a text pointer (looking like a capital letter I) before starting to copy text in the dialog window. After copying the text this way the focus remains in the dialog window.
Yes, this is true, if you stay out of the red error message (where the hand mouse cursor is visible) when beginning the marking and ending the marking. But still a little cumbersome work-around, because then you will have to copy the full two lines with error text and then delete the text you do not need.

Re: Command window, marking error message goes to source, can not copy directly afterwards
Claus Pedersen #63466 02/25/22 11:39 AM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
OP Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Solved in beta 5, thanks


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.034s Queries: 14 (0.013s) Memory: 2.5224 MB (Peak: 3.0428 MB) Data Comp: Off Server Time: 2024-05-18 16:24:18 UTC
Valid HTML 5 and Valid CSS