On Friday 30 of December 2011 18:22:11 Martin wrote:
> Seems that Mac sends a delta of 40 per click,  win and linux do 120

Not only Mac (carbon & cocoa) ,but qt under mac too.

zeljko

> 
> 
> you can change this in synedit until fixed
> 
> 
> procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent);
> var
>    lState: TShiftState;
> const
>    WHEEL_DELTA = 120;
> begin
> 
> 
> 
> Note you may have similar issues in other windows (e.g. disassembler)
> 
> On 30/12/2011 16:51, Helmut Hartl wrote:
> > On OSX lion 10.7.2 in lazarus trunk, the svn revision 33972 breaks the
> > mouse wheel scrolling in the ide editor
> > (at least for a magic mouse) -> The view stutters, does not scroll, or
> > scrolls only some lines and stops.
> > The version before worked fine.
> > 
> > In synedit.pp the following hack brings back normal scrolling behaviour:
> > Tested on svn 34518.
> > 
> > Helmut
> 
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to