General XMetaL Discussion
MrPaul June 13, 2013 at 6:06 pm
Issue with GoToNext in XMAX v6?June 13, 2013 at 6:06 pmParticipants 0Replies 1Last Activity 9 years, 8 months ago
Is there a known issue with the GoToNext API call? Consider the following:
If my range selection is at the starting of:
The GoToNext call seems to skip “two” and goes directly to “three”. It seems to be skipping the first word inside an element. If there is no element, the function seems to work properly. Is this a known issue?
I am using XMAX version 22.214.171.124.
Thanks.Derek Read June 13, 2013 at 8:44 pm
Reply to: Issue with GoToNext in XMAX v6?June 13, 2013 at 8:44 pm
I 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 126.96.36.199:
//XMetaL Script Language JScript:
var rng = ActiveDocument.Range;
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?
- You must be logged in to reply to this topic.