I'm writing a plugin for IDA and I need to get the line number of an instruction in the main view when someone clicks on that instruction or somewhere in the view. I noticed that there is GetLineNumber(ea) but it only gives me the line number in the source files, not the line num of the disassembled code.
IDA Pro get line number in main view
ida;idapython;idapro plugins