C# Class Balakin.VSOutputEnhancer.Tests.Stubs.TextBufferStub

Inheritance: ITextBuffer
Mostra file Open project: nbalakin/VSOutputEnhancer Class Usage Examples

Public Methods

Method Description
ChangeContentType ( IContentType newContentType, Object editTag ) : void
CheckEditAccess ( ) : System.Boolean
CreateEdit ( ) : ITextEdit
CreateEdit ( EditOptions options, Int32 reiteratedVersionNumber, Object editTag ) : ITextEdit
CreateReadOnlyRegionEdit ( ) : IReadOnlyRegionEdit
Delete ( Span deleteSpan ) : ITextSnapshot
GetReadOnlyExtents ( Span span ) : NormalizedSpanCollection
Insert ( Int32 position, String text ) : ITextSnapshot
IsReadOnly ( Int32 position ) : System.Boolean
IsReadOnly ( Int32 position, System.Boolean isEdit ) : System.Boolean
IsReadOnly ( Span span ) : System.Boolean
IsReadOnly ( Span span, System.Boolean isEdit ) : System.Boolean
Replace ( Span replaceSpan, String replaceWith ) : ITextSnapshot
TakeThreadOwnership ( ) : void
TextBufferStub ( String contentType ) : System

Method Details

ChangeContentType() public method

public ChangeContentType ( IContentType newContentType, Object editTag ) : void
newContentType IContentType
editTag Object
return void

CheckEditAccess() public method

public CheckEditAccess ( ) : System.Boolean
return System.Boolean

CreateEdit() public method

public CreateEdit ( ) : ITextEdit
return ITextEdit

CreateEdit() public method

public CreateEdit ( EditOptions options, Int32 reiteratedVersionNumber, Object editTag ) : ITextEdit
options EditOptions
reiteratedVersionNumber System.Int32
editTag Object
return ITextEdit

CreateReadOnlyRegionEdit() public method

public CreateReadOnlyRegionEdit ( ) : IReadOnlyRegionEdit
return IReadOnlyRegionEdit

Delete() public method

public Delete ( Span deleteSpan ) : ITextSnapshot
deleteSpan Span
return ITextSnapshot

GetReadOnlyExtents() public method

public GetReadOnlyExtents ( Span span ) : NormalizedSpanCollection
span Span
return NormalizedSpanCollection

Insert() public method

public Insert ( Int32 position, String text ) : ITextSnapshot
position System.Int32
text String
return ITextSnapshot

IsReadOnly() public method

public IsReadOnly ( Int32 position ) : System.Boolean
position System.Int32
return System.Boolean

IsReadOnly() public method

public IsReadOnly ( Int32 position, System.Boolean isEdit ) : System.Boolean
position System.Int32
isEdit System.Boolean
return System.Boolean

IsReadOnly() public method

public IsReadOnly ( Span span ) : System.Boolean
span Span
return System.Boolean

IsReadOnly() public method

public IsReadOnly ( Span span, System.Boolean isEdit ) : System.Boolean
span Span
isEdit System.Boolean
return System.Boolean

Replace() public method

public Replace ( Span replaceSpan, String replaceWith ) : ITextSnapshot
replaceSpan Span
replaceWith String
return ITextSnapshot

TakeThreadOwnership() public method

public TakeThreadOwnership ( ) : void
return void

TextBufferStub() public method

public TextBufferStub ( String contentType ) : System
contentType String
return System