Enable Wheel-mouse scrolling

Questions and discussion about the ZBasic IDE.
Post Reply
victorf
Posts: 342
Joined: 01 January 2006, 4:08 AM
Location: Schenectady, New York

Enable Wheel-mouse scrolling

Post 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
Vic Fraenckel
KC2GUI
windswaytoo ATSIGN gmail DOT com
mikep
Posts: 796
Joined: 24 September 2005, 15:54 PM

Post 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.
Mike Perks
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post 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.
- Don Kinzer
Post Reply