public interface InjectedFileChangesHandler extends Disposable
Disposable.Parent
Modifier and Type | Method and Description |
---|---|
void |
commitToOriginal(DocumentEvent injectedDocumentEvent) |
boolean |
handlesRange(TextRange hostRange) |
boolean |
isValid() |
boolean |
tryReuse(PsiFile newInjectedFile,
TextRange newHostRange) |
dispose
boolean isValid()
void commitToOriginal(DocumentEvent injectedDocumentEvent)
boolean tryReuse(PsiFile newInjectedFile, TextRange newHostRange)
boolean handlesRange(TextRange hostRange)
hostRange
corresponds to the injected fragment managed by this handler