Home › Forums › General XMetaL Discussion › Issue with GoToNext in XMAX v6? › Reply To: Issue with GoToNext in XMAX v6?
Reply to: Issue with GoToNext in XMAX v6?
June 13, 2013 at 8:44 pmI can't seem to reproduce this.
In order to see where the Range actually ends up I have been testing with this code and XMAX 6.0.0.159:
//XMetaL Script Language JScript:
var rng = ActiveDocument.Range;
rng.GotoNext(sqWordStart);
rng.Select();
This Range API (and the equivalent on Selection) is directly linked to what a user can do with a selection and the keyboard. What happens in your case when you press Ctrl+Right Arrow?
Perhaps the application hosting XMAX is making a difference. What do you have XMAX embedded inside of, and which version of Windows is it on?