public interface IHiddenRegionFormatting
HiddenRegionFormatting specifies formatting information for a HiddenRegion. A HiddenRegion is the group of all hidden tokens (whitespace and comments) between to non-hidden tokens.
HiddenRegionFormattings can sometimes be automatically merged
when
two different formattings are registered for the same region in an IFormattableDocument
.
IHiddenRegionFormatter
HiddenRegionFormatting
HiddenRegionFormatting
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAutowrap() |
java.lang.Integer |
getIndentationDecrease() |
java.lang.Integer |
getIndentationIncrease() |
java.lang.Integer |
getNewLineDefault() |
java.lang.Integer |
getNewLineMax() |
java.lang.Integer |
getNewLineMin() |
java.lang.Boolean |
getNoIndentation() |
IAutowrapFormatter |
getOnAutowrap() |
int |
getPriority() |
FormatterRequest |
getRequest() |
java.lang.String |
getSpace() |
void |
mergeValuesFrom(IHiddenRegionFormatting other) |
void |
setAutowrap(java.lang.Integer value) |
void |
setIndentationDecrease(java.lang.Integer indentation) |
void |
setIndentationIncrease(java.lang.Integer indentation) |
void |
setNewLinesDefault(java.lang.Integer newLines) |
void |
setNewLinesMax(java.lang.Integer newLines) |
void |
setNewLinesMin(java.lang.Integer newLines) |
void |
setNoIndentation(java.lang.Boolean value) |
void |
setOnAutowrap(IAutowrapFormatter formatter) |
void |
setPriority(int priority) |
void |
setSpace(java.lang.String space) |
void mergeValuesFrom(IHiddenRegionFormatting other) throws ConflictingFormattingException
ConflictingFormattingException
java.lang.Integer getAutowrap()
java.lang.Integer getIndentationDecrease()
java.lang.Integer getIndentationIncrease()
java.lang.Integer getNewLineDefault()
java.lang.Integer getNewLineMax()
java.lang.Integer getNewLineMin()
java.lang.Boolean getNoIndentation()
IAutowrapFormatter getOnAutowrap()
int getPriority()
FormatterRequest getRequest()
java.lang.String getSpace()
void setAutowrap(java.lang.Integer value)
void setIndentationDecrease(java.lang.Integer indentation)
void setIndentationIncrease(java.lang.Integer indentation)
void setNewLinesDefault(java.lang.Integer newLines)
void setNewLinesMax(java.lang.Integer newLines)
void setNewLinesMin(java.lang.Integer newLines)
void setNoIndentation(java.lang.Boolean value)
void setOnAutowrap(IAutowrapFormatter formatter)
void setPriority(int priority)
void setSpace(java.lang.String space)