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.
Am 30.12.11 18:22, schrieb Martin:
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
I guessed and
On 02/01/2012 09:37, Helmut Hartl wrote:
I guessed and changed it to 40: (because the above code is the same as
in svn)
---
procedure TCustomSynEdit.WMMouseWheel(var Message: TLMMouseEvent);
var
lState: TShiftState;
const
WHEEL_DELTA = 40;
begin
---
but that does not help for me (it
Martin schrieb:
Part of the issue is that
Mouse.WheelScrollLines
returns 3 lines to be scrolled per wheel click
AFAIR the 3 is hardcoded somewhere...
I have no idea where on a mac that can be configured, or how else this
value come to be...
If not already present, the TMouse class
On 02/01/2012 15:36, Hans-Peter Diettrich wrote:
Martin schrieb:
I have no idea where on a mac that can be configured, or how else
this value come to be...
If not already present, the TMouse class (widgetset equivalent) should
offer such configuration, for platforms with no corresponding
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
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
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: