diff options
| author | nyamatongwe <devnull@localhost> | 2002-12-20 11:19:35 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2002-12-20 11:19:35 +0000 | 
| commit | ef71f2a4bfbac0a1fcd7ebd392afcadab819b09b (patch) | |
| tree | 972161a1fea7814bf9a18d7312dcb496886d79a5 | |
| parent | d621dc7ff4f2b63b2cab42ef8706980c7b199f64 (diff) | |
| download | scintilla-mirror-ef71f2a4bfbac0a1fcd7ebd392afcadab819b09b.tar.gz | |
Allow zero width caret.
| -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 | 
