From ef71f2a4bfbac0a1fcd7ebd392afcadab819b09b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 20 Dec 2002 11:19:35 +0000 Subject: Allow zero width caret. --- src/Editor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3