improve how an after-insert callback behaves (specifically, avoid redundant work when there are multiple inserts during an edit sequence)
improve how an after-insert callback behaves (specifically,
avoid redundant work when there are multiple inserts during
an edit sequence)

closes PR 12897

mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket