Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2014-07-08 16:23:21 +0000
committerMarkus Keller2014-07-08 16:27:38 +0000
commita19c8c64d3a29cb93630e7fa887ba37518374a5c (patch)
treee5795681d46ae324a2cf91f0221f401631d8c0fa /org.eclipse.jface.text
parentceb8ba2e4ce15c68277179228945238a5ad20b7b (diff)
downloadeclipse.platform.text-a19c8c64d3a29cb93630e7fa887ba37518374a5c.tar.gz
eclipse.platform.text-a19c8c64d3a29cb93630e7fa887ba37518374a5c.tar.xz
eclipse.platform.text-a19c8c64d3a29cb93630e7fa887ba37518374a5c.zip
Bug 439155: [block selection] Pasting multiple lines inserts \r instead of document line delimiterI20140722-0800I20140715-0800
Diffstat (limited to 'org.eclipse.jface.text')
-rw-r--r--org.eclipse.jface.text/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.jface.text/pom.xml4
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/internal/text/SelectionProcessor.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jface.text/META-INF/MANIFEST.MF b/org.eclipse.jface.text/META-INF/MANIFEST.MF
index 0307e02263d..2afb2a767dd 100644
--- a/org.eclipse.jface.text/META-INF/MANIFEST.MF
+++ b/org.eclipse.jface.text/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.jface.text
-Bundle-Version: 3.9.0.qualifier
+Bundle-Version: 3.9.100.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package:
diff --git a/org.eclipse.jface.text/pom.xml b/org.eclipse.jface.text/pom.xml
index 2349f577283..ff340e563a1 100644
--- a/org.eclipse.jface.text/pom.xml
+++ b/org.eclipse.jface.text/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012, 2013 Eclipse Foundation and others.
+ Copyright (c) 2012, 2014 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -18,6 +18,6 @@
</parent>
<groupId>org.eclipse.jface</groupId>
<artifactId>org.eclipse.jface.text</artifactId>
- <version>3.9.0-SNAPSHOT</version>
+ <version>3.9.100-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/SelectionProcessor.java b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/SelectionProcessor.java
index f8a6cce99ed..30a7a0e5ad2 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/SelectionProcessor.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/internal/text/SelectionProcessor.java
@@ -271,7 +271,7 @@ public final class SelectionProcessor {
int spaces= visualStartColumn;
char[] array= new char[spaces];
Arrays.fill(array, ' ');
- string= fDocument.getLegalLineDelimiters()[0] + String.valueOf(array) + string;
+ string= TextUtilities.getDefaultLineDelimiter(fDocument) + String.valueOf(array) + string;
edit= new InsertEdit(insertLocation, string);
insertLocation+= string.length();
}

Back to the top