com.aptana.ide.editor.html.formatting
Class HTMLCodeFormatter
java.lang.Object
com.aptana.ide.editors.unified.BaseFormatter
com.aptana.ide.editor.html.formatting.HTMLCodeFormatter
- All Implemented Interfaces:
- ICodeFormatter
public class HTMLCodeFormatter
- extends BaseFormatter
- Author:
- Pavel Petrochenko
|
Method Summary |
java.lang.String |
createNestedMark()
|
java.lang.String |
format(java.lang.String notFormatted,
boolean isSelection,
java.util.Map options,
org.eclipse.core.resources.IProject project,
java.lang.String linedelimeters)
|
java.lang.String |
getCurrentIndentationString(java.lang.String string)
|
boolean |
handlesNested()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLCodeFormatter
public HTMLCodeFormatter()
getCurrentIndentationString
public java.lang.String getCurrentIndentationString(java.lang.String string)
- Parameters:
string -
- Returns:
- indentation string as it is on previous line;
format
public java.lang.String format(java.lang.String notFormatted,
boolean isSelection,
java.util.Map options,
org.eclipse.core.resources.IProject project,
java.lang.String linedelimeters)
isSelection - TODOoptions - TODOproject - TODOlinedelimeters - TODO
- Returns:
- formatted code
- See Also:
ICodeFormatter.format(java.lang.String, boolean, java.util.Map,
org.eclipse.core.resources.IProject, java.lang.String)
handlesNested
public boolean handlesNested()
- Returns:
- true if nested languages are handled by formatter itself
- See Also:
ICodeFormatter.handlesNested()
createNestedMark
public java.lang.String createNestedMark()
- Returns:
- mark for a nested language content
- See Also:
ICodeFormatter.createNestedMark()