def substr(self, region):

        return self.content[region.begin():region.end() + 1]
Get the desired region from the content buffer.
dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff.py/EasyDiffView.substr