aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 12688da66..ad41b518d 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7389,7 +7389,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
return vs.caretStyle;
case SCI_SETCARETWIDTH:
- vs.caretWidth = std::clamp(static_cast<int>(wParam), 0, 3);
+ vs.caretWidth = std::clamp(static_cast<int>(wParam), 0, 20);
InvalidateStyleRedraw();
break;