Re: Scrolling to a line in a field

2009-01-12 Thread Devin Asay
On Jan 11, 2009, at 5:15 PM, David Bovill wrote: I have this old command - and just found that it is not accurate for a field of text with large line numbers. Can anyone make it more accurate? on field_ScrollToLine lineNum, fieldObject -- does not seem accurate for large line numbers

Re: Scrolling to a line in a field

2009-01-12 Thread David Bovill
Thanks - I'll select the line! 2009/1/12 Devin Asay devin_a...@byu.edu On Jan 11, 2009, at 5:15 PM, David Bovill wrote: I have this old command - and just found that it is not accurate for a field of text with large line numbers. Can anyone make it more accurate? on field_ScrollToLine

Scrolling to a line in a field

2009-01-11 Thread David Bovill
I have this old command - and just found that it is not accurate for a field of text with large line numbers. Can anyone make it more accurate? on field_ScrollToLine lineNum, fieldObject -- does not seem accurate for large line numbers (it's an underestimate) ??? if lineNum = 0 then

scrolling to a line

2005-11-13 Thread Charles Hartman
I've modified Xavier's modification of my modification of (somebody's??) code to search incrementally in a sorted list field. (This version, unlike Xavier's, assumes the whole line in the field is the sorted item.) But it doesn't solve one problem: suppose the user starts typing a string

RE: scrolling to a line

2005-11-13 Thread MisterX
To: How to use Revolution Subject: scrolling to a line I've modified Xavier's modification of my modification of (somebody's??) code to search incrementally in a sorted list field. (This version, unlike Xavier's, assumes the whole line in the field is the sorted item.) But it doesn't

Re: scrolling to a line

2005-11-13 Thread Charles Hartman
0, so no scroll at all. ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Hartman Sent: Sunday, November 13, 2005 17:08 To: How to use Revolution Subject: scrolling to a line I've modified Xavier's modification of my modification

RE: scrolling to a line

2005-11-13 Thread MisterX
set the hilitedline of me to lo (0 works ok! ;) I don't think so, unless I'm being even denser than usual. If there's no match at all, 'lo' will contain 0, so no scroll at all. I meant it unselects anything if you click in an empty line ;) can be handled how you want... for example if

Re: scrolling to a line

2005-11-13 Thread J. Landman Gay
Charles Hartman wrote: I've modified Xavier's modification of my modification of (somebody's??) code to search incrementally in a sorted list field. Could it have been the one I posted about two years ago? I sent this to the list: local lUserKeys, lOldTicks on keyDown whichKey -- select

RE: scrolling to a line

2005-11-13 Thread MisterX
? cheers Xavier http://monsieurx.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. Landman Gay Sent: Sunday, November 13, 2005 20:00 To: How to use Revolution Subject: Re: scrolling to a line Charles Hartman wrote: I've modified Xavier's

Re: scrolling to a line

2005-11-13 Thread Dan Shafer
FWIW, I don't think that's expected behavior or necessarily good user experience design. If there's no find then things should stay the same. Maybe a beep but a scroll to a phantom location doesn't really help me much, doesn't give me any new information. My $0.02. On Nov 13, 2005, at

Re: scrolling to a line

2005-11-13 Thread Charles Hartman
On Nov 13, 2005, at 3:04 PM, Dan Shafer wrote: FWIW, I don't think that's expected behavior or necessarily good user experience design. If there's no find then things should stay the same. Maybe a beep but a scroll to a phantom location doesn't really help me much, doesn't give me any new

Re: scrolling to a line

2005-11-13 Thread Charles Hartman
I finally figured out where I got the original code which I quoted in my message http://lists.runrev.com/pipermail/use-revolution/2005-November/ 069934.html -- it was written by Klaus and posted on Ken's SoT site: http://www.sonsothunder.com/devres/revolution/tips/fld003.htm On Nov

Re: scrolling to a line

2005-11-13 Thread J. Landman Gay
J. Landman Gay wrote: Charles Hartman wrote: I've modified Xavier's modification of my modification of (somebody's??) code to search incrementally in a sorted list field. Could it have been the one I posted about two years ago? I sent this to the list: local lUserKeys, lOldTicks on