예제 #1
0
 public DocumentEditInfo(AbstractDocument document, TextModificationType modificationType, int offset, int length)
 {
     editsByNode      = new Dictionary <ITextNode, IElementEdit>(IdentityComparator <ITextNode> .Instance);
     this.document    = document;
     ModificationType = modificationType;
     Offset           = offset;
     Length           = length;
 }
예제 #2
0
 public ElementEdit(
     AbstractDocument document,
     ITreePath <ITextNode> oldElementPath,
     ITreePath <ITextNode> newElementPath,
     int index,
     ITextNode[] addedNodes,
     ITextNode[] removedNodes) : base(false, "")
 {
     Index               = index;
     this.addedNodes     = addedNodes;
     this.removedNodes   = removedNodes;
     this.document       = document;
     this.oldElementPath = oldElementPath;
     this.newElementPath = newElementPath;
 }
예제 #3
0
 public RootFilterChain(AbstractDocument document)
 {
     this.document = document;
 }