ound = canvas.getBoundingClientRect();
        selectoinClientX = caretX + canvas.offsetLeft;
        selectoinClientY = caretY + canvas.offsetTop;
        let selectionBound = DOMRect.fromRect({x:selectoinClientX, y:selectoinClientY, width:1, height:10});

        controlBound = scaleDOMRect(controlBound, window.devicePixelRatio);
        selectionBound = scaleDOMRect(selectionBound, window.devicePixelRatio);

        editContext.updateBounds(controlBound, selectionBound);
    }

    // when Edi