Is there an editor action for deleting selected text?

We have an autoformatting functionality in our plugin that formats a small part of the file the user is typing in whenever its content changes (I know this isn’t usually recommended, but we’re paying attention to performance and it’s only a small part of the file). We are currently using all actions that I listed as well as a TypedHandler to react to any changes in our files, however there doesn’t seem to be a way for us to react when a user deletes text that they selected, resulting in an unformatted file which could be confusing and annoying to our users.