2017-05-21, 05:38
Back in the day there was an os called ms-dos and a text editor called 'b' which could be infinitely configured with its own programming language. I spent more time programming my text editor than I did programming anything else. Anyway I implemented a scrolling function that worked like this:
Say you have room to display 20 items on-screen and you're scrolling from top to bottom of a long list. Your cursor moves down the screen to position 17. From then on the cursor stays where it is and the list itself moves upwards. That way you can always see at least three items ahead. When the last item in the list is visible, the cursor continues travelling down to the end. Same principle in moving in the other direction.
I loved that macro!
Edit: Re-reading the original post, this may be roughly what the original poster may have intended.
Say you have room to display 20 items on-screen and you're scrolling from top to bottom of a long list. Your cursor moves down the screen to position 17. From then on the cursor stays where it is and the list itself moves upwards. That way you can always see at least three items ahead. When the last item in the list is visible, the cursor continues travelling down to the end. Same principle in moving in the other direction.
I loved that macro!
Edit: Re-reading the original post, this may be roughly what the original poster may have intended.