diff options
| author | mitchell <unknown> | 2020-04-07 20:32:45 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-04-07 20:32:45 -0400 |
| commit | 18901fe7af010c3db713190f6666ddd039276e41 (patch) | |
| tree | 97fd20b496e877c60f0db3499f240f69584f8657 /curses/ScintillaCurses.cxx | |
| parent | d42a314c365bb5483462b2c65807de363f2ac687 (diff) | |
| download | scintilla-mirror-18901fe7af010c3db713190f6666ddd039276e41.tar.gz | |
Fixed drawing of block caret in overtype mode.
The overtype cursor was being displayed one cell behind the current position.
Diffstat (limited to 'curses/ScintillaCurses.cxx')
| -rw-r--r-- | curses/ScintillaCurses.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/curses/ScintillaCurses.cxx b/curses/ScintillaCurses.cxx index fefaa207d..619e5bd90 100644 --- a/curses/ScintillaCurses.cxx +++ b/curses/ScintillaCurses.cxx @@ -965,7 +965,7 @@ public: vs.selColours.fore = ColourDesired(0, 0, 0); // black on white selection vs.selColours.fore.isSet = true; // setting selection foreground above vs.caretcolour = ColourDesired(0xFF, 0xFF, 0xFF); // white caret - vs.caretStyle = CARETSTYLE_BLOCK; // block caret + vs.caretStyle = CARETSTYLE_BLOCK | CARETSTYLE_OVERSTRIKE_BLOCK; // blk caret vs.leftMarginWidth = 0, vs.rightMarginWidth = 0; // no margins vs.ms[1].width = 1; // marker margin width should be 1 vs.extraDescent = -1; // hack to make lineHeight 1 instead of 2 |
