Posted 13 years ago by Kasper
Version: 11.1.0545
Avatar
In SyntaxEditor for WinForms, I was able to get a hold of a tokens parent by accessing the ParentToken property. I can't seem to find a property like that on neither the IToken or the IMergableToken interface, nor on the MergableToken class. Has this been left out on purpose or is there another way to find the parent of a token?

Comments (2)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Kasper,

To reduce overall memory usage, tokens are much more virtualized in WPF/Silverlight and are created on-demand, and never persisted. Thus unfortunately there is no concept of ParentToken in the newer design.


Actipro Software Support

Posted 13 years ago by Kasper
Avatar
Okay, that's a shame, but I do understand that you're trying to reduce memory usage of course :). I will have to see if I can figure out another way to implement this specific part of my code then.
The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.