From 82ee0a0a14f83b3d85e7298f82165667c77b9a34 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 9 Dec 2016 09:05:21 +1100 Subject: Use double coordinates instead of float in some cases as float ran out of precision in long documents. This meant that individual lines could not be selected by mouse when the document exceeded 16.7 million lines. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 64eb42db7..864bac94f 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -275,7 +275,7 @@ protected: // ScintillaBase subclass needs access to much of Editor // The top left visible point in main window coordinates. Will be 0,0 except for // scroll views where it will be equivalent to the current scroll position. virtual Point GetVisibleOriginInMain() const; - Point DocumentPointFromView(Point ptView) const; // Convert a point from view space to document + PointDocument DocumentPointFromView(Point ptView) const; // Convert a point from view space to document int TopLineOfMain() const; // Return the line at Main's y coordinate 0 virtual PRectangle GetClientRectangle() const; virtual PRectangle GetClientDrawingRectangle(); -- cgit v1.2.3