@staticmethod
    def get(view):
        text = Text.sel(view)
        if len(text) > 0:
            return text
        return Text.all(view)
dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py/Text.get/original