| java.lang.Object org.netbeans.modules.javascript.editing.JsFormatter
JsFormatter | public class JsFormatter implements org.netbeans.modules.gsf.api.Formatter(Code) | | Formatting and indentation for JavaScript
author: Tor Norbye |
Method Summary | |
public void | computeIndents(BaseDocument doc, int initialIndent, int startOffset, int endOffset, CompilationInfo info, List<Integer> offsets, List<Integer> indents, boolean indentEmptyLines, boolean includeEnd, boolean indentOnly) | public int | hangingIndentSize() | public int | indentSize() | public boolean | needsParserResult() | public void | reformat(Document document, int startOffset, int endOffset, CompilationInfo info) | void | reformatComments(BaseDocument doc, int start, int end) | public void | reindent(Document document, int startOffset, int endOffset) |
JsFormatter | public JsFormatter()(Code) | | |
JsFormatter | public JsFormatter(CodeStyle codeStyle, int rightMarginOverride)(Code) | | |
computeIndents | public void computeIndents(BaseDocument doc, int initialIndent, int startOffset, int endOffset, CompilationInfo info, List<Integer> offsets, List<Integer> indents, boolean indentEmptyLines, boolean includeEnd, boolean indentOnly)(Code) | | |
hangingIndentSize | public int hangingIndentSize()(Code) | | |
indentSize | public int indentSize()(Code) | | |
needsParserResult | public boolean needsParserResult()(Code) | | |
reformat | public void reformat(Document document, int startOffset, int endOffset, CompilationInfo info)(Code) | | |
reformatComments | void reformatComments(BaseDocument doc, int start, int end)(Code) | | |
reindent | public void reindent(Document document, int startOffset, int endOffset)(Code) | | |
|
|