自己解決。HistoryLayerの
endAction()は改行などでも実行され
そん時にリンク終端部分が更新されてるせいだ
HistoryLayer.tjs, endAction()内の
last.end = font.getTextWidth(currentLine);
の行を
if( last.end === void ) last.end = font.getTextWidth(currentLine);
に修正して直せた