You should use CurrentLineAndColumn() from vimsupport.py