Make code actions update text buffer