diff options
author | nyamatongwe <devnull@localhost> | 2010-10-06 00:04:21 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-10-06 00:04:21 +1100 |
commit | 40743f3f78e408739283979d975577e9931f11ef (patch) | |
tree | 39abcb4c0307a5271dbcad13c55855aca0d20eb4 | |
parent | 99edf6ed2055ec4e1459abcde28ff53e5c32e37b (diff) | |
download | scintilla-mirror-40743f3f78e408739283979d975577e9931f11ef.tar.gz |
Feature request #3079784 Use system caret blink time on Windows
-rw-r--r-- | win32/ScintillaWin.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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(); } |