aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-06-17 11:06:15 +1000
committerNeil <nyamatongwe@gmail.com>2020-06-17 11:06:15 +1000
commit5fc1282d6d4a18f8018bbdd769991eb93171757a (patch)
tree4d82ba7eeb38c2f52f204baa650c8f1226f7b9fc /src
parent0f0a8c1db9ef9909a93a94e008fbaf96e02ad78d (diff)
downloadscintilla-mirror-5fc1282d6d4a18f8018bbdd769991eb93171757a.tar.gz
Feature [feature-requests:1361]. Allow caret width to be up to 20 pixels.
Diffstat (limited to 'src')
-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;