diff options
-rw-r--r-- | doc/ScintillaHistory.html | 5 | ||||
-rw-r--r-- | src/Editor.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 14a2820e3..e146fe692 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -518,6 +518,7 @@ <td>Simon Sobisch</td> </tr><tr> <td>Georger Araújo</td> + <td>Dimitar Radev</td> </tr> </table> <p> @@ -627,6 +628,10 @@ <a href="http://sourceforge.net/p/scintilla/bugs/1978">Bug #1978</a>. </li> <li> + Fix double tap word selection on Windows 10 1709 Fall Creators Update. + <a href="http://sourceforge.net/p/scintilla/bugs/1983/">Bug #1983</a>. + </li> + <li> Fix closing autocompletion lists on Cocoa for macOS 10.13 where the window was emptying but staying visible. <a href="http://sourceforge.net/p/scintilla/bugs/1981/">Bug #1981</a>. diff --git a/src/Editor.cxx b/src/Editor.cxx index 75b3859e0..63b41a4d5 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4455,7 +4455,7 @@ void Editor::ButtonDownWithModifiers(Point pt, unsigned int curTime, int modifie if (shift && !inSelMargin) { SetSelection(newPos); } - if (((curTime - lastClickTime) < Platform::DoubleClickTime()) && Close(pt, lastClick, doubleClickCloseThreshold)) { + if ((curTime < (lastClickTime+Platform::DoubleClickTime())) && Close(pt, lastClick, doubleClickCloseThreshold)) { //Platform::DebugPrintf("Double click %d %d = %d\n", curTime, lastClickTime, curTime - lastClickTime); SetMouseCapture(true); FineTickerStart(tickScroll, 100, 10); |