Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Hi Jean, When you paste into word there should be an option along the lines of accepting the word document formatting or the text source formatting. I can't reproduce the problem here at the moment as I am using a different OS. Alternatively, paste the text into notepad (or your favorite text editor) and then into word. The problem stems for the copy command in IDL taking the text formatting (font, color etc) into consideration. Cheers.
RussellGrew wrote: > Hi Jean, > > When you paste into word there should be an option along the lines of > accepting the word document formatting or the text source formatting. > I can't reproduce the problem here at the moment as I am using a > different OS. > > Alternatively, paste the text into notepad (or your favorite text > editor) and then into word. The problem stems for the copy command in > IDL taking the text formatting (font, color etc) into consideration. > > Cheers. Russell, Thanks for tips... though both methods require two extra actions... I am really looking for a way to configure the workbench so that the formating is not copied in IDL.. Jean
Jean H writes: > Thanks for tips... though both methods require two extra actions... I > am really looking for a way to configure the workbench so that the > formating is not copied in IDL.. The real problem with infinite choice is that it raises your expectations to unrealistic levels. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.dfanning.com/ Sepore ma de ni thui. ("Perhaps thou speakest truth.")
On Sep 23, 1:21 pm, Jean H <jghas...@DELTHIS.ucalgary.ANDTHIS.ca> wrote: > RussellGrew wrote: > > Russell, > Thanks for tips... though both methods require two extra actions... I > am really looking for a way to configure the workbench so that the > formating is not copied in IDL.. I recently went through the same exercise for another non-IDL copy-and- paste to word problem. I don't think it is an IDL or workbench issue, but a windows/word thing. You can configure word to always match the source or destination formatting when you paste. In word 2007, it is in the word options->advanced settings dialog. Since 95% of the time I just want to copy the text, not the formatting, I was so glad to find this... Mike
> I recently went through the same exercise for another non-IDL copy-and- > paste to word problem. I don't think it is an IDL or workbench issue, > but a windows/word thing. You can configure word to always match the > source or destination formatting when you paste. In word 2007, it is > in the word options->advanced settings dialog. Since 95% of the time > I just want to copy the text, not the formatting, I was so glad to > find this... > > Mike Thanks Mike... if others wonder, in Word 2003, I had to be a bit more tricky: in normal.dot, create a macro with the following procedure: Sub EditPaste_noFormat() On Error Resume Next Selection.PasteSpecial DataType:=wdPasteText End Sub Then put an icon on the toolbar that links to it, and assign the key ALT+V (unassigned) to it... so you are not loosing the formated paste! Alternatively, if you call the function "EditPaste()", then doing "paste" or "CRTL+V" will paste without formating... and you must go through "special paste" to keep the formating! Jean