Register select-all detection timeout per editor

So that a subsequent context menu handler can cancel it

Issue #2491