Ejemplo n.º 1
0
        public DisconnectedBufferGraph(ITextBuffer subjectBuffer, ITextBuffer viewBuffer)
        {
            this.SubjectBufferSnapshot = subjectBuffer.CurrentSnapshot;
            this.ViewSnapshot          = viewBuffer.CurrentSnapshot;

            this.SubjectBufferToTextViewDirection =
                IBufferGraphExtensions.ClassifyBufferMapDirection(subjectBuffer, viewBuffer);
        }
Ejemplo n.º 2
0
        public DisconnectedBufferGraph(ITextBuffer subjectBuffer, ITextBuffer viewBuffer)
        {
            this.SubjectBufferSnapshot = subjectBuffer.CurrentSnapshot;
            this.ViewSnapshot = viewBuffer.CurrentSnapshot;

            this.SubjectBufferToTextViewDirection = IBufferGraphExtensions.ClassifyBufferMapDirection(
                subjectBuffer,
                viewBuffer);
        }