def run_cmd(self, jove, **args):
    region = jove.get_encompassing_region()

    if not region:
        return

    # get the beginning and end of the region
    b_row, b_col = self.view.rowcol(region.begin())
    e_row, e_col = self.view.rowcol(region.end())

    # Create rectangle
    top = b_row
    left = min(b_col, e_col)

    bot = e_row
    right = max(b_col, e_col)

    current_edit = jove.edit
    for l in range(top, bot - 1):
        r = sublime.Region(self.view.text_point(l, left), self.view.text_point(l, right))
        if not r.empty():
            self.view.erase(current_edit, r)

    self.view.end_edit(jove.edit)
dataset/ETHPy150Open grundprinzip/sublemacspro/sbp_rectangle.py/SbpRectangleDelete.run_cmd/operator `+` -> `-`