Пример #1
0
        public FlowDocument GetFlowDocument()
        {
            if (_FlowDocument == null)
            {
                LoadDocument();
            }
            FlowDocument returnDocument = MarkdownPlusHelper.CloneDocument(_FlowDocument);

            DistributedClonesForCurrentFlowDocument.Add(returnDocument);
            return(returnDocument);
        }
Пример #2
0
 public void SetFlowDocument(FlowDocument doc)
 {
     _FlowDocument = MarkdownPlusHelper.CloneDocument(doc);
     DistributedClonesForCurrentFlowDocument.Clear();
     bDirty = true;
 }