public interface FormattingModelEx extends FormattingModel
Modifier and Type | Method and Description |
---|---|
TextRange |
replaceWhiteSpace(TextRange textRange,
ASTNode nodeAfter,
java.lang.String whiteSpace)
Replaces the contents of the specified text range in the document with the specified text
string consisting of whitespace characters.
|
commitChanges, getDocumentModel, getRootBlock, replaceWhiteSpace, shiftIndentInsideRange
TextRange replaceWhiteSpace(TextRange textRange, ASTNode nodeAfter, java.lang.String whiteSpace)
textRange
- the text range to replace with whitespace.nodeAfter
- the AST node following the whitespace, if knownwhiteSpace
- the whitespace to replace with.