Try this (untested). Put the following into a frontscript. Watch for
email-induced linebreaks.
on rawkeydown n
if not (the name of the selectedfield contains "revNewScriptEditor") then
pass rawkeydown
if the optionkey is down then pass rawkeydown
-- use optionkey to return to usual scrolling, for scanning through long
scripts
put the long id of the selectedfield into sFld
put the textheight of sFld into txtHt
put the scroll of sFld into oldScr
switch n
case "65308" -- up
set the scroll of sFld to oldScr + txtHt
break
case "65309" -- down
set the scroll of sFld to oldScr - txtHt
break
default
pass rawkeydown
end switch
end rawkeydown
-- Peter
Peter M. Brigham
[email protected]
http://home.comcast.net/~pmbrig
On Dec 24, 2015, at 11:59 AM, Ray wrote:
> Seasons Greetings on Christmas Eve!
>
> Does anybody know how to scroll just one line per mouse-wheel movement
> through the script editor window?
>
> I typically view several thousand lines at a time. Each push of the little
> scroll wheel on my mouse produces an abrupt 'jerk' of 10 or 15 lines. It's
> really hard on the eyes by the end of the day.
>
> Ideally scrolling would be totally smooth without even jerking one line at a
> time, but one line at a time is better than a random group at a time causing
> me to re-orient myself.
>
> Many thanks!
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode