1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.jtidy / src / net / sourceforge / phpdt / tidy / actions / FormatWithJTidyEditorAction.java
1 /**
2  * Created on 13.01.2003 by Jan Schulz
3  */
4 package net.sourceforge.phpdt.tidy.actions;
5
6 import net.sourceforge.phpdt.tidy.JTidyConsole;
7
8 import org.eclipse.jface.action.IAction;
9
10 /**
11  * @author jan
12  * @since 13.01.2003
13  */
14 public class FormatWithJTidyEditorAction extends AbstractJTidyEditorAction {
15
16
17         /* (non-Javadoc)
18          * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
19          */
20         public void run(IAction action) {
21                 JTidyConsole.clear();
22                 try {
23                         parseDocument(true);
24                 } catch (ParseFailedException e) {
25                         //LOGGING
26                 }
27         }
28
29
30 }