diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 3f721d57e..cec634363 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3476,6 +3476,13 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { Redraw(); break; + case SCI_POSITIONFROMPOINT: { + if (lParam == 0) + return 0; + Point *ppt = reinterpret_cast<Point *>(lParam); + return PositionFromLocation(*ppt); + } + case SCI_GOTOLINE: GoToLine(wParam); break; |