diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-06-17 11:06:15 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-06-17 11:06:15 +1000 |
| commit | 1f23423442a85280b935f7a65160355b8695342b (patch) | |
| tree | 999e037ea06079ac92903aeaa1ca3fe4435f27b4 /src | |
| parent | 16a54de702c1c6c0f9d6a74f019964b5be1cc64d (diff) | |
| download | scintilla-mirror-1f23423442a85280b935f7a65160355b8695342b.tar.gz | |
Backport: Feature [feature-requests:1361]. Allow caret width to be up to 20 pixels.
Backport of changeset 8308:9f3c5a4c4b52.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 195be8a01..4bcebaf8d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7375,7 +7375,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return vs.caretStyle; case SCI_SETCARETWIDTH: - vs.caretWidth = Sci::clamp(static_cast<int>(wParam), 0, 3); + vs.caretWidth = Sci::clamp(static_cast<int>(wParam), 0, 20); InvalidateStyleRedraw(); break; |
