diff options
| author | Neil <nyamatongwe@gmail.com> | 2016-12-09 09:05:21 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2016-12-09 09:05:21 +1100 |
| commit | 82ee0a0a14f83b3d85e7298f82165667c77b9a34 (patch) | |
| tree | 5fb285e157cdbd5d761b8dedf67c77c83f302b4c /src/Editor.h | |
| parent | 6a529a0ea1126b231577507ed03389f32b962f67 (diff) | |
| download | scintilla-mirror-82ee0a0a14f83b3d85e7298f82165667c77b9a34.tar.gz | |
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.
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
