On Mar 24, 2006, at 12:25 , Steve Garman wrote:


SelStart starts from position 0
CharPos starts from position 1

so you need:
  LineNum = me.LineNumAtCharPos(me.SelStart+1)

Thx Steve and Mark!
Yes it works.

Sven E Olsson


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to