In a message regarding EditField Linenum RB2006r1 OS X dated Fri, 24 Mar 2006 11:48:23 +0100, Sven E Olsson said that ...
SelStart starts from position 0 CharPos starts from position 1 so you need: LineNum = me.LineNumAtCharPos(me.SelStart+1) -- Steve Garman Using REALbasic 2006r1 Professional on Windows XP Pro _______________________________________________ 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>
