Метод | Описание | |
---|---|---|
AddBufferDisposedAction ( this textBuffer, ICoreShell shell, ICoreShell>.Action |
||
CurrentTextView ( this viewBuffer ) : ITextView | ||
GetBufferGraph ( this viewBuffer ) : IBufferGraph |
Given view buffer (top-level buffer in the projection tree) returns buffer graph.
|
|
GetChangedExtent ( this oldVersion, ITextVersion newVersion, Span &oldSpan, Span &newSpan ) : bool | ||
GetContributingBuffers ( this textBuffer ) : IEnumerable |
||
GetFileName ( this textBuffer ) : string | ||
GetLineColumnFromPosition ( this textBuffer, int position, int &line, int &column ) : bool |
Converts stream buffer position to line and column.
|
|
GetPositionFromLineColumn ( this textBuffer, int line, int column ) : int? |
Converts line and column positions to a stream buffer position.
|
|
GetTextDocument ( this textBuffer ) : ITextDocument | ||
IsContributingBuffer ( this buffer, ITextBuffer contributingBuffer ) : bool | ||
IsSignatureHelpBuffer ( this textBuffer ) : bool | ||
MapDown ( this viewBuffer, SnapshotPoint viewPoint, string contentTypeName ) : SnapshotPoint? |
Given top-level text buffer (i.e. view buffer) maps location down the buffer graph to the project buffer of the specified content type, if any.
|
|
MapUp ( this viewBuffer, SnapshotPoint sourcePoint, string contentTypeName ) : SnapshotPoint? |
Given top-level text buffer (i.e. view buffer) and location in the projected buffer maps location up the buffer graph from the buffer of the specified content type to the view buffer.
|
|
MapUp ( this viewBuffer, Span sourceSpan, string contentTypeName ) : SnapshotSpan? |
Given top-level text buffer (i.e. view buffer) and location in the projected buffer maps location up the buffer graph from the buffer of the specified content type to the view buffer.
|
public static AddBufferDisposedAction ( this textBuffer, ICoreShell shell, ICoreShell>.Action |
||
textBuffer | this | |
shell | ICoreShell | |
callback | ICoreShell>.Action | |
Результат | void |
public static CurrentTextView ( this viewBuffer ) : ITextView | ||
viewBuffer | this | |
Результат | ITextView |
public static GetBufferGraph ( this viewBuffer ) : IBufferGraph | ||
viewBuffer | this | |
Результат | IBufferGraph |
public static GetChangedExtent ( this oldVersion, ITextVersion newVersion, Span &oldSpan, Span &newSpan ) : bool | ||
oldVersion | this | |
newVersion | ITextVersion | |
oldSpan | Span | |
newSpan | Span | |
Результат | bool |
public static GetContributingBuffers ( this textBuffer ) : IEnumerable |
||
textBuffer | this | |
Результат | IEnumerable |
public static GetFileName ( this textBuffer ) : string | ||
textBuffer | this | |
Результат | string |
public static GetLineColumnFromPosition ( this textBuffer, int position, int &line, int &column ) : bool | ||
textBuffer | this | |
position | int | |
line | int | |
column | int | |
Результат | bool |
public static GetPositionFromLineColumn ( this textBuffer, int line, int column ) : int? | ||
textBuffer | this | |
line | int | |
column | int | |
Результат | int? |
public static GetTextDocument ( this textBuffer ) : ITextDocument | ||
textBuffer | this | |
Результат | ITextDocument |
public static IsContributingBuffer ( this buffer, ITextBuffer contributingBuffer ) : bool | ||
buffer | this | |
contributingBuffer | ITextBuffer | |
Результат | bool |
public static IsSignatureHelpBuffer ( this textBuffer ) : bool | ||
textBuffer | this | |
Результат | bool |
public static MapDown ( this viewBuffer, SnapshotPoint viewPoint, string contentTypeName ) : SnapshotPoint? | ||
viewBuffer | this | |
viewPoint | SnapshotPoint | |
contentTypeName | string | |
Результат | SnapshotPoint? |
public static MapUp ( this viewBuffer, SnapshotPoint sourcePoint, string contentTypeName ) : SnapshotPoint? | ||
viewBuffer | this | |
sourcePoint | SnapshotPoint | |
contentTypeName | string | |
Результат | SnapshotPoint? |
public static MapUp ( this viewBuffer, Span sourceSpan, string contentTypeName ) : SnapshotSpan? | ||
viewBuffer | this | |
sourceSpan | Span | |
contentTypeName | string | |
Результат | SnapshotSpan? |