Copy paste a GoMultiTextNode


I have a class that derives from GoMultiTextNode and another that derives from GoView. In the GoMultiTextNode subclass I have code which call the GoView subclasses EditCopy method. So far so good (I think). Then, In the GoView subclass I have code to paste the contents from the clipboard using the EditPaste method, followed by a MoveSelection call to place the pasted node on the view at the mouse position. All the code is reached but nothing shows up on paste?


Do you have a serialization problem with your GoMultiTextNode subclass? There’s more information in the User Guide–search for “serializ”.


Thanks Walter!
My GoMultiTextNode subclass was marked with the Serializable attribute but I had also subclassed GoDocument and did not mark it Serializable. That was the problem.