#27194
LTT
Participant

20.3.901

Text:
aaa bbb

Select “aaa” and “bbb”. (2 selections.)
Run this macro:
xPos = document.selection.GetActivePointX(eePosLogical, 1) + 2;
yPos = document.selection.GetActivePointY(eePosLogical, 1);
document.selection.SetActivePoint(eePosLogical, xPos, yPos, true, 1);

** Error occurs (where the selections should merge).