Add missing since for new constructor of TextDocumentGenerator
Take care about ownership for TextDocumentSettings widget