1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / SmartyDocumentSetupParticipant.java
index 7bd6ceb..db7dede 100644 (file)
@@ -1,13 +1,13 @@
 /**********************************************************************
-Copyright (c) 2000, 2003 IBM Corp. and others.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Common Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/cpl-v10.html
+ Copyright (c) 2000, 2003 IBM Corp. and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Common Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/cpl-v10.html
 
-Contributors:
-       IBM Corporation - Initial implementation
-**********************************************************************/
+ Contributors:
+ IBM Corporation - Initial implementation
+ **********************************************************************/
 package net.sourceforge.phpeclipse.phpeditor;
 
 import net.sourceforge.phpdt.internal.ui.text.IPHPPartitions;
@@ -20,16 +20,19 @@ import org.eclipse.jface.text.IDocument;
 /**
  * The document setup participant for PHPDT.
  */
-public class SmartyDocumentSetupParticipant  implements IDocumentSetupParticipant {
+public class SmartyDocumentSetupParticipant implements
+               IDocumentSetupParticipant {
 
        public SmartyDocumentSetupParticipant() {
        }
-        
+
        /*
         * @see org.eclipse.core.filebuffers.IDocumentSetupParticipant#setup(org.eclipse.jface.text.IDocument)
         */
        public void setup(IDocument document) {
-               JavaTextTools tools= PHPeclipsePlugin.getDefault().getJavaTextTools();
-               tools.setupSmartyDocumentPartitioner(document, IPHPPartitions.PHP_PARTITIONING, null); //IPHPPartitions.PHP_PARTITIONING, null);
+               JavaTextTools tools = PHPeclipsePlugin.getDefault().getJavaTextTools();
+               tools.setupSmartyDocumentPartitioner(document,
+                               IPHPPartitions.PHP_PARTITIONING, null); // IPHPPartitions.PHP_PARTITIONING,
+                                                                                                               // null);
        }
 }