public class PlainFileManipulator extends AbstractElementManipulator<PsiPlainTextFile>
| Constructor and Description |
|---|
PlainFileManipulator() |
| Modifier and Type | Method and Description |
|---|---|
PsiPlainTextFile |
handleContentChange(PsiPlainTextFile file,
TextRange range,
java.lang.String newContent)
Changes the element's text to the given new text.
|
getRangeInElement, handleContentChangepublic PsiPlainTextFile handleContentChange(PsiPlainTextFile file, TextRange range, java.lang.String newContent) throws IncorrectOperationException
ElementManipulatorfile - element to be changedrange - range within the elementnewContent - new element textIncorrectOperationException - if something goes wrong