Mouse wheel

Please guide me in the right direction. I want the user to be able to control the text with the wheel of their mouse. Where can I find a tutorial on this, or the code to enable this function?

Thanks.