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 #58071 is a reply to message #57972] Thu, 10 January 2008 13:45 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Bob Crawford wrote:
> 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.

I don't see how that follows. Sometimes I copy/paste single lines and I want the newline
included. Other times I don't. It depends.

All the c.l.i-p ng traffic about the Workbench would seem to indicate that letting the
application make the choices behind-the-scenes is just bad mojo of the 10ft pole variety.

Then again, maybe it's because eclipse was created by and for the software industry. IDL
users have a goodly number of scientists in their ranks. Maybe the thought processes of
the two groups are just too antipodal.

?

cheers,

paulv
[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: Fri Oct 10 05:20:47 PDT 2025

Total time taken to generate the page: 0.40181 seconds