Get a textfield line number

Hey i have a text field with text within it. Im wanting to get the line number of that text element once its clicked. Using an event listener I can get a specific value

function clickHandler(event:MouseEvent):void {


Of course I would have to use either an if statement or an if statement within a for loop, but what would I check it against?