Is it possible to trigger a reparse from the PSI w...
# compiler
t
Is it possible to trigger a reparse from the PSI when its text has changed? Ive tried
FileContentUtilCore#reparseFiles
, it doesn't seem to do anything. (i'm guessing theres no attached listeners to it) I have also tried changing the text through
Document#setText
but it doesn't seem to trigger the reparse. Also, after setting the text any attempt to get the document through
PsiDocumentManager#getDocument
throws an assertion error with PSI text length and document text length mismatch.