Seems that Mac sends a delta of 40 per click,  win and linux do 120


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.
--
procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent);
begin
  Message.Result:=0;
end;
--

Helmut

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to