From 5697aad3ea4305c14e7e908b2219c2205d78e05e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 6 Oct 2010 00:04:21 +1100 Subject: Feature request #3079784 Use system caret blink time on Windows --- win32/ScintillaWin.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c6b9d38b3..7f7f4e980 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -329,6 +329,10 @@ ScintillaWin::ScintillaWin(HWND hwnd) { keysAlwaysUnicode = false; + caret.period = ::GetCaretBlinkTime(); + if (caret.period < 0) + caret.period = 0; + Initialise(); } -- cgit v1.2.3