comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL Workbench Nits
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL Workbench Nits [message #57972] Thu, 10 January 2008 12:57 Go to previous message
Bob[3] is currently offline  Bob[3]
Messages: 60
Registered: December 2006
Member
On Jan 10, 3:43 pm, Abraham campbell <abra...@ittvis.com> wrote:
> There is a difference between multi-line paste and single-line paste.
> When you paste multiple lines into the command line window, it
> immediately executes each line, one at a time, without displaying the
> lines in the command line, and without you being able to modify the
> command before it's executed.  (NOTE: The last line of a multi-line
> paste is also executed immediately.)  However, with a single-line paste,
> the command is left in the command line window, and not immediately
> executed, so that you can modify it before executing it.
>
> What you might be running into is the case where you have a single
> statement, but you have also copied a newline character at the end of
> the statement.  When you paste this into the command line, it will
> behave like a multi-line paste and immediately execute the (single)
> command and not give you a chance to edit the command before execution.
>
> The presence of a carriage return/newline character anywhere in the
> pasted text determines the difference between multi-line and single-line
> paste behavior.
>
> Abraham- Hide quoted text -
>
> - Show quoted text -

If that is the case, then the copy/paste behaviour could be made more
intuitive/consistent if when there is only one carriage return/newline
character in the text (ie it's a single-line paste that just happens
to have a newline at the end) it gets stripped off before pasting.

Bob.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What do YOU make in salary?
Next Topic: Re: putting data into .kml (google earth) from IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:58:01 PDT 2025

Total time taken to generate the page: 0.00459 seconds