Home › Forums › General XMetaL Discussion › Function "FindInsertLocation" doesn’t seem to work correctly › Reply To: Function "FindInsertLocation" doesn’t seem to work correctly
Reply to: Function "FindInsertLocation" doesn’t seem to work correctly
March 3, 2011 at 8:09 amThanks for your fast reply.
It seems that we made a mistake. Before calling the findInsertLocation function we called the function rng.SelectNodeContents on the document's root node. I changed the call to rng.SelectBeforeNode on the root node. Now everything seems to work fine.
Sorry for the false alarm.
Greetings,
rewers.