xtFormat.underlineThickness}, ${textFormat.underlineStyle}`);
        renderUnderlineDecoration(textFormat.rangeStart, textFormat.rangeEnd, textFormat.underlineStyle, textFormat.underlineThickness);
    }

    editContext.addEventListener("textformatupdate", e => { 
        let textFormats = e.getTextFormats();
        console.log(`textformatupdate: size(${textFormats.length})`);

        textFormats.forEach((textFormat) => {
            handleTextFormat(textFormat);
        });
    });

    ca