diff options
author | nyamatongwe <unknown> | 2002-12-20 11:19:35 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-12-20 11:19:35 +0000 |
commit | 601bcd589f078235e0ccce5f72c4608d4769adc4 (patch) | |
tree | 972161a1fea7814bf9a18d7312dcb496886d79a5 /src | |
parent | 0d303600c61311172df0b8daec732d982d2a656a (diff) | |
download | scintilla-mirror-601bcd589f078235e0ccce5f72c4608d4769adc4.tar.gz |
Allow zero width caret.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 92b0f0057..90a361e1a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5597,8 +5597,8 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return vs.caretcolour.desired.AsLong(); case SCI_SETCARETWIDTH: - if (wParam <= 1) - vs.caretWidth = 1; + if (wParam <= 0) + vs.caretWidth = 0; else if (wParam >= 3) vs.caretWidth = 3; else |