#10924

Yutaka Emura
Keymaster

Hello Stefan,

I am sincerely sorry for my delayed responses, but I am spending much of time these days to develop a new major version of EmEditor.

Currently, this is the specification because macros can’t paste text as a box format. The only way to work around this is using the Clipboard like this:


sel = document.selection.text;
Lines = sel.split("rn");
out = "";

for(L=0,E=Lines.length; L<E; L++){
line = Lines[L];
out += line.replace("i", "X") + "rn";
}

alert(out);

clipboardData.setData("BoxText", out);
document.selection.Paste(eeCopyUnicode);

I hope this helps.
Thanks!