Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 209598 Details for
Bug 368768
Backport to 3.2.x Copy paste from Remote System Explorer view has CR/LF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
backport patch
patch.txt (text/plain), 2.08 KB, created by
David McKnight
on 2012-01-16 16:58:36 EST
(
hide
)
Description:
backport patch
Filename:
MIME Type:
Creator:
David McKnight
Created:
2012-01-16 16:58:36 EST
Size:
2.08 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/ui/actions/SystemCopyToClipboardAction.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemCopyToClipboardAction.java,v >retrieving revision 1.17 >diff -u -r1.17 SystemCopyToClipboardAction.java >--- UI/org/eclipse/rse/ui/actions/SystemCopyToClipboardAction.java 29 Sep 2008 22:10:02 -0000 1.17 >+++ UI/org/eclipse/rse/ui/actions/SystemCopyToClipboardAction.java 16 Jan 2012 21:58:14 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2002, 2008 IBM Corporation and others. >+ * Copyright (c) 2002, 2012 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -17,6 +17,7 @@ > * Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry > * David McKnight (IBM) - [223103] [cleanup] fix broken externalized strings > * David McKnight (IBM) - [248339] [dnd][encodings] Cannot drag&drop / copy&paste files or folders with turkish or arabic names >+ * David McKnight (IBM) - [368304] Copy paste from Remote System Explorer view has CR/LF > *******************************************************************************/ > > package org.eclipse.rse.ui.actions; >@@ -171,9 +172,13 @@ > if (adapter != null) > { > String text = adapter.getAlternateText(dragObject); >+ if (textStream.length() > 0){ >+ // append new line only if we've already got previous lines >+ textStream.append(getTextTransferAppend(dragObject, adapter)); >+ } >+ > textStream.append(getTextTransferPrepend(dragObject, adapter)); > textStream.append(text); >- textStream.append(getTextTransferAppend(dragObject, adapter)); > > if (adapter.canDrag(dragObject)) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 368768
: 209598