def GetLineNo(self, mouse = 0):
        r = self.GetPos(mouse)
        return -1 if not r else r[0]
Calls GetPos() and returns the current line number or -1 on failure
dataset/ETHPy150Open EiNSTeiN-/idapython/pywraps/py_custview.py/simplecustviewer_t.GetLineNo