No, we can't have all the code in insertHint() to do this complicated exclusion logic since we need the initial cursor position and the start of a new session to distinguish between an exclusion and a real replacement.