]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor/ReplaceTabsBySpaces.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.ui / src / org / simantics / scl / ui / editor / ReplaceTabsBySpaces.java
old mode 100755 (executable)
new mode 100644 (file)
index 0bc58e5..a01295d
@@ -1,15 +1,15 @@
-package org.simantics.scl.ui.editor;\r
-\r
-import org.eclipse.jface.text.DocumentCommand;\r
-import org.eclipse.jface.text.IAutoEditStrategy;\r
-import org.eclipse.jface.text.IDocument;\r
-\r
-public class ReplaceTabsBySpaces implements IAutoEditStrategy {\r
-\r
-       public void customizeDocumentCommand(IDocument d, DocumentCommand c) {\r
-               if (c.length == 0 && c.text != null && c.text.indexOf('\t') >= 0) {\r
-                       c.text = c.text.replace("\t", "    ");\r
-               }               \r
-       }\r
-       \r
-}\r
+package org.simantics.scl.ui.editor;
+
+import org.eclipse.jface.text.DocumentCommand;
+import org.eclipse.jface.text.IAutoEditStrategy;
+import org.eclipse.jface.text.IDocument;
+
+public class ReplaceTabsBySpaces implements IAutoEditStrategy {
+
+       public void customizeDocumentCommand(IDocument d, DocumentCommand c) {
+               if (c.length == 0 && c.text != null && c.text.indexOf('\t') >= 0) {
+                       c.text = c.text.replace("\t", "    ");
+               }               
+       }
+       
+}