General XMetaL Discussion
gtoro April 20, 2011 at 9:38 am
XMetal Get the offset of the insertion pointApril 20, 2011 at 9:38 amParticipants 0Replies 1Last Activity 11 years, 5 months ago
I am trying to get the offset of the insertion point within an element. All I have is the Selection object, which has IsInsertionPoint = true. I can also get the current node. I noticed there is an object DOMText with methods taking in an offset, for example, splitText.
SelectionPtr sel = global->Selection;
// Get offset
GinoDerek Read April 20, 2011 at 6:06 pm
Reply to: XMetal Get the offset of the insertion pointApril 20, 2011 at 6:06 pm
The type of APIs you seem to need might exist but likely only in an experimental version of the product.
It would be best to use our partner support channel to communicate these types of questions. The forum is generally meant for discussing things that may be of use to other clients and if we discuss undocumented or experimental things here it would end up confusing other people.
- You must be logged in to reply to this topic.