public class WhitespaceHelper
extends java.lang.Object
Constructor and Description |
---|
WhitespaceHelper() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
calculateLeadingWhitespace(org.eclipse.jface.text.IDocument document) |
protected java.lang.String |
calculateTrailingWhitespace(org.eclipse.jface.text.IDocument document) |
java.lang.String |
getPrefix() |
java.lang.String |
getSuffix() |
int |
getTotalLength() |
int |
getTotalOffset() |
void |
initialize(org.eclipse.jface.text.IDocument document,
int offset,
int length,
boolean ensureEmptyLinesAround) |
public void initialize(org.eclipse.jface.text.IDocument document, int offset, int length, boolean ensureEmptyLinesAround)
public int getTotalOffset()
public int getTotalLength()
public java.lang.String getPrefix()
public java.lang.String getSuffix()
protected java.lang.String calculateLeadingWhitespace(org.eclipse.jface.text.IDocument document)
protected java.lang.String calculateTrailingWhitespace(org.eclipse.jface.text.IDocument document)