Discussion:
Coordinates on Cocoa
Neil Hodgson
2013-08-20 05:58:52 UTC
Permalink
When overlay scrollers and kinetic scrolling were implemented on Cocoa, this was done by using separate subviews for the margin and text area. Coordinates passed to SCI_POSITIONFROMPOINT and similar calls were interpreted relative to the text area, not the whole view. This is different to both previous versions and other platforms and could cause problems when, for example, the mouse position was correlated to text. The problem has now been fixed and Cocoa should work the same as the other platforms.

Similarly the coordinates reported by the SCN_DWELLSTART and SCN_DWELLEND notifications was fixed to correspond to the fix to SCI_POSITIONFROMPOINT.

http://sourceforge.net/p/scintilla/code/ci/a9d4b8143633152d0ca4aadc28d041cbc39308d4/

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...