Page 1 of 1

Enable Wheel-mouse scrolling

Posted: 01 February 2006, 4:08 AM
by victorf
I have a scroll-wheel mouse. When I am viewing a web page (for example) I can click on the scroll-wheel and this places a "scroll cursor" on the screen. I can then scroll the page by dragging the mouse a bit. I'm not sure what this action is called :? . Is there any way to enable this action in the IDE editor :?:

I am always trying to do this in the IDE as it is a habit with me and I miss it. I can't do it in TextPad, which is my "normal" editor, either.

BTW: This scrolling method works here in the Forums :)

Any enlightenment will be appreciated.

Vic

Posted: 01 February 2006, 7:42 AM
by mikep
The ZBasic IDE is based on Scintilla. According to this Scintilla webpage (http://scintilla.sourceforge.net/ScintillaToDo.html), under the section "Features I am unlikely to do", Windows mouse scrolling is probably not going to be supported. I don't think Don can add it because it needs to be in the base IDE implementation.

Posted: 01 February 2006, 12:57 PM
by dkinzer
The feature that you're referring to is usually called "panning". It is a little tricky to implement (mostly because of the need to display the "anchor" cursor) but it could be done. It would probably be best to implement it in the source code for the actual edit control (i.e. the Scintilla code) which, so far, has very few changes for the IDE.