Ejemplo n.º 1
0
 private ITextBuffer CreateElisionBufferWithoutIndentation(
     ITextBuffer dataBuffer, Span shortHintSpan)
 {
     return(_projectionBufferFactoryService.CreateElisionBufferWithoutIndentation(
                _editorOptionsFactoryService.GlobalOptions,
                contentType: null,
                exposedSpans: new SnapshotSpan(dataBuffer.CurrentSnapshot, shortHintSpan)));
 }
 public static IElisionBuffer CreateElisionBufferWithoutIndentation(
     this IProjectionBufferFactoryService factoryService,
     IEditorOptions editorOptions,
     params SnapshotSpan[] exposedSpans)
 {
     return(factoryService.CreateElisionBufferWithoutIndentation(
                editorOptions,
                (IEnumerable <SnapshotSpan>)exposedSpans));
 }
 private IElisionBuffer CreateBuffer()
 {
     return(_projectionBufferFactoryService.CreateElisionBufferWithoutIndentation(
                _editorOptionsFactoryService.GlobalOptions, _span));
 }