@Deprecated public class FormattableDocument extends Object
| Constructor and Description |
|---|
FormattableDocument(FormattableDocument fmt)
Deprecated.
|
FormattableDocument(FormattingPreferenceValues cfg,
String document)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected FormattingData |
addFormatting(FormattingData data)
Deprecated.
|
boolean |
fitsIntoLine(int offset,
int length,
Procedures.Procedure1<? super FormattableDocument> format)
Deprecated.
|
FormattingPreferenceValues |
getCfg()
Deprecated.
|
String |
getDocument()
Deprecated.
|
TreeMap<Integer,FormattingData> |
getFormattings()
Deprecated.
|
String |
getIndentation(int levels)
Deprecated.
|
int |
getIndentationLenght(int levels)
Deprecated.
|
Throwable |
getRootTrace()
Deprecated.
|
protected Pair<String,String> |
getTextAround(FormattingData data1)
Deprecated.
|
String |
getWrap(int levels)
Deprecated.
|
boolean |
isConflictOccurred()
Deprecated.
|
boolean |
isDebugConflicts()
Deprecated.
|
protected boolean |
isWhitespace(String doc)
Deprecated.
|
int |
lineLengthBefore(int offset)
Deprecated.
|
String |
lookahead(int offset,
int length,
Procedures.Procedure1<? super FormattableDocument> format)
Deprecated.
|
protected FormattingData |
merge(FormattingData data1,
FormattingData data2)
Deprecated.
|
FormattingData |
operator_add(FormattingData data)
Deprecated.
|
void |
operator_add(Functions.Function1<? super FormattableDocument,? extends Iterable<FormattingData>> data)
Deprecated.
|
void |
operator_add(Iterable<FormattingData> data)
Deprecated.
|
List<TextReplacement> |
renderToEdits()
Deprecated.
|
List<TextReplacement> |
renderToEdits(int offset,
int length)
Deprecated.
|
String |
renderToString()
Deprecated.
|
String |
renderToString(int offset,
int length)
Deprecated.
|
protected void |
reportConflict(FormattingData data1,
FormattingData data2)
Deprecated.
|
void |
setConflictOccurred(boolean conflictOccurred)
Deprecated.
|
void |
setRootTrace(Throwable rootTrace)
Deprecated.
|
String |
toString()
Deprecated.
|
public FormattableDocument(FormattingPreferenceValues cfg, String document)
public FormattableDocument(FormattableDocument fmt)
public boolean isDebugConflicts()
protected FormattingData addFormatting(FormattingData data)
protected FormattingData merge(FormattingData data1, FormattingData data2)
protected Pair<String,String> getTextAround(FormattingData data1)
protected void reportConflict(FormattingData data1, FormattingData data2)
public FormattingData operator_add(FormattingData data)
public void operator_add(Iterable<FormattingData> data)
public void operator_add(Functions.Function1<? super FormattableDocument,? extends Iterable<FormattingData>> data)
public List<TextReplacement> renderToEdits()
public List<TextReplacement> renderToEdits(int offset, int length)
public String renderToString()
public String renderToString(int offset, int length)
protected boolean isWhitespace(String doc)
public int lineLengthBefore(int offset)
public String lookahead(int offset, int length, Procedures.Procedure1<? super FormattableDocument> format)
public boolean fitsIntoLine(int offset,
int length,
Procedures.Procedure1<? super FormattableDocument> format)
public String getIndentation(int levels)
public int getIndentationLenght(int levels)
public String getWrap(int levels)
@Pure public FormattingPreferenceValues getCfg()
@Pure public TreeMap<Integer,FormattingData> getFormattings()
public void setRootTrace(Throwable rootTrace)
@Pure public boolean isConflictOccurred()
public void setConflictOccurred(boolean conflictOccurred)
Copyright © 2015. All Rights Reserved.