Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 368304
Collapse All | Expand All

(-)UI/org/eclipse/rse/ui/actions/SystemCopyToClipboardAction.java (-2 / +7 lines)
Lines 18-23 Link Here
18
 * David McKnight   (IBM)        - [223103] [cleanup] fix broken externalized strings
18
 * David McKnight   (IBM)        - [223103] [cleanup] fix broken externalized strings
19
 * David McKnight   (IBM)        - [248339] [dnd][encodings] Cannot drag&drop / copy&paste files or folders with turkish or arabic names
19
 * David McKnight   (IBM)        - [248339] [dnd][encodings] Cannot drag&drop / copy&paste files or folders with turkish or arabic names
20
 * David McKnight   (IBM)        - [330398] RSE leaks SWT resources
20
 * David McKnight   (IBM)        - [330398] RSE leaks SWT resources
21
 * David McKnight   (IBM)        - [368304] Copy paste from Remote System Explorer view has CR/LF
21
 *******************************************************************************/
22
 *******************************************************************************/
22
23
23
package org.eclipse.rse.ui.actions;
24
package org.eclipse.rse.ui.actions;
Lines 178-186 Link Here
178
				if (adapter != null)
179
				if (adapter != null)
179
				{					
180
				{					
180
					String text = adapter.getAlternateText(dragObject);
181
					String text = adapter.getAlternateText(dragObject);
182
					if (textStream.length() > 0){
183
						// append new line only if we've already got previous lines
184
						textStream.append(getTextTransferAppend(dragObject, adapter));
185
					}
186
					
181
					textStream.append(getTextTransferPrepend(dragObject, adapter));
187
					textStream.append(getTextTransferPrepend(dragObject, adapter));
182
					textStream.append(text);	
188
					textStream.append(text);						
183
					textStream.append(getTextTransferAppend(dragObject, adapter));
184
					
189
					
185
					if (adapter.canDrag(dragObject))
190
					if (adapter.canDrag(dragObject))
186
					{
191
					{

Return to bug 368304