Exemplo n.º 1
0
        private void SaveState()
        {
            var fragment = GeProfile.Fragment;

            GeProfile.Fragment = GeProfile.Profile;
            GeProfile.GetNodeProfileText();
            NodeFragmentPosition = GeProfile.ProfileTextPostionList.GetFragmentPosition(fragment);
        }
Exemplo n.º 2
0
        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();
        }