We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b108788 commit de5caedCopy full SHA for de5caed
1 file changed
src/display/selection.js
@@ -38,8 +38,8 @@ export function drawSelectionCursor(cm, head, output) {
38
cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + "px"
39
40
if (/\bcm-fat-cursor\b/.test(cm.getWrapperElement().className)) {
41
- let charPos = charCoords(cm, head, "div", null, null);
42
- cursor.style.width = Math.max(0, charPos.right - charPos.left) + "px";
+ let charPos = charCoords(cm, head, "div", null, null)
+ cursor.style.width = Math.max(0, charPos.right - charPos.left) + "px"
43
}
44
45
if (pos.other) {
0 commit comments