diff options
| author | mitchell <unknown> | 2020-04-05 16:17:41 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-04-05 16:17:41 -0400 |
| commit | dc6eedad4b32869f5b0f85e14468c642a38a6de8 (patch) | |
| tree | 110fa1735b9fe0a418b1ea95bc62ac603e367186 /curses/ScintillaCurses.cxx | |
| parent | cbb80f09c04b0c245e31b3c1bd327c6cdd6f9a80 (diff) | |
| download | scintilla-mirror-dc6eedad4b32869f5b0f85e14468c642a38a6de8.tar.gz | |
Enable autoscrolling when clicking and dragging the mouse to make selections.
Diffstat (limited to 'curses/ScintillaCurses.cxx')
| -rw-r--r-- | curses/ScintillaCurses.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/curses/ScintillaCurses.cxx b/curses/ScintillaCurses.cxx index 21330996e..fefaa207d 100644 --- a/curses/ScintillaCurses.cxx +++ b/curses/ScintillaCurses.cxx @@ -1457,7 +1457,7 @@ bool scintilla_send_mouse( int maxy = getmaxy(w), maxx = getmaxx(w); // Ignore most events outside the window. if ((x < begx || x > begx + maxx - 1 || y < begy || y > begy + maxy - 1) && - button != 4 && button != 5) + button != 4 && button != 5 && event != SCM_DRAG) return false; y = y - begy, x = x - begx; if (event == SCM_PRESS) |
