Support TextDocumentDidChange and add non-file based openDoc