#27349
LTT
Participant

upload.ee/image/12944206/EmEditor_SetActivePoint.png

Set 2 points (as shown in the upper image).

Run the macro:
for(ii = 1; ii <= document.selection.Count; ii++){
xPos = document.selection.GetActivePointX(eePosLogical, ii) + 1;
yPos = document.selection.GetActivePointY(eePosLogical, ii) + 1;
document.selection.SetActivePoint(eePosLogical, xPos, yPos, true, 1);
}

What I expect is shown in the lower image. (This can be achieved by manually dragging the border of each point/selection.)

** But the result in EmEditor is not correct, and error occurs.