On Cocoa (i.e. ScintillaTest) when the scintilla editor is vertically scrolled (e.g. past one page), that SCI_POSITIONFROMPOINTCLOSE always returns "-1", whilst SCI_POSITIONFROMPOINT still returns the correct position.
Here's the simple modifications I was using to test this:
diff -r baaa425295db cocoa/ScintillaCocoa.mm
--- a/cocoa/ScintillaCocoa.mm Sun Sep 22 12:59:01 2013 +1030
+++ b/cocoa/ScintillaCocoa.mm Tue Sep 24 16:34:33 2013 -0700
@@ -1982,6 +1982,10 @@
{
lastMouseEvent = event;
It wasn't converting back out of scroll view coordinates.
Fix committed as [c4bbc6].
Related
Commit: [c4bbc6]