Bool OnDelete (long start, long len)
Called before the given range is deleted from the buffer. Override this for your own use. If you return FALSE, then the delete will be aborted. If you return TRUE, then AfterDelete is guaranteed to be called after the delete has completed.