private void SaveState() { var fragment = GeProfile.Fragment; GeProfile.Fragment = GeProfile.Profile; GeProfile.GetNodeProfileText(); NodeFragmentPosition = GeProfile.ProfileTextPostionList.GetFragmentPosition(fragment); }
private void RestoreState() { GeProfile.Fragment = GeProfile.Profile; GeProfile.GetNodeProfileText(); Fragment after; Fragment before; GeProfile.GetFragmentsAt(out before, out after, NodeFragmentPosition.Position.Offset); GeProfile.Fragment = after; GeProfile.GetNodeProfileText(); }