Can not get Linenr or column of TMemo
Issue #253
new
z := SendMessage (m.handle, EM_LINEFROMCHAR, M.SelStart, 0);
c := m.SelStart - SendMessage (m.handle, EM_LINEINDEX, z, 0);
This does not work to get Line-Nr and current column of the current line.
z is always zero and c is m.selstart, because the result of the second sendmessage is also always zero
Is there an other way to get the line nr or the current column of the current line for TMemo?
Or could this be fixed?
Comments (1)
-
reporter - Log in to comment
It is on linux and macos