handle Nothing in content assist and doc hover