org.eclipse.xtend.ide.contentassist
Class WhitespaceHelper
java.lang.Object
org.eclipse.xtend.ide.contentassist.WhitespaceHelper
public class WhitespaceHelper
- extends java.lang.Object
- Author:
- Jan Koehnlein - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WhitespaceHelper
public WhitespaceHelper()
initialize
public void initialize(org.eclipse.jface.text.IDocument document,
int offset,
int length,
boolean ensureEmptyLinesAround)
getTotalOffset
public int getTotalOffset()
getTotalLength
public int getTotalLength()
getPrefix
public java.lang.String getPrefix()
getSuffix
public java.lang.String getSuffix()
calculateLeadingWhitespace
protected java.lang.String calculateLeadingWhitespace(org.eclipse.jface.text.IDocument document)
calculateTrailingWhitespace
protected java.lang.String calculateTrailingWhitespace(org.eclipse.jface.text.IDocument document)