public abstract class SmartStripTrailingSpacesFilter extends java.lang.Object implements StripTrailingSpacesFilter
ALL_LINES, ENFORCED_REMOVAL, NOT_ALLOWED, POSTPONED
Constructor and Description |
---|
SmartStripTrailingSpacesFilter() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getTrailingSpacesToLeave(int line) |
boolean |
isStripSpacesAllowedForLine(int line) |
public final boolean isStripSpacesAllowedForLine(int line)
isStripSpacesAllowedForLine
in interface StripTrailingSpacesFilter
line
- The document line. Lines are from 0 to Document.getLineCount()
- 1 inclusive.public abstract int getTrailingSpacesToLeave(int line)
line
- The line for which a number of whitespace characters to leave must be calculated.