Delete text @start_pos up to, but not including @end_pos.
start position
end position
See Implementation
Delete text @start_pos up to, but not including @end_pos.