

def openBasedOnNumericLine(self, window, view, sel):
    foundSelLoc = self.findSelectionLocation(view, sel)
    if (foundSelLoc == None):
        return
    if (foundRegion != None):
        nameRegions = NameRegions(view)
        for region in nameRegions:
            if region.intersects(foundRegion):
                scope = view.extract_scope((region.a + 1))
                filePath = self.getPath(scope)[0]
                line = view.substr(foundSelLoc)
                window.open_file(((filePath + ':') + line), sublime.ENCODED_POSITION)
                break

dataset/ETHPy150Open fusetools/Fuse.SublimePlugin/build_results.py FuseGotoLocationCommand.openBasedOnNumericLine/original