Property | Type | Description | |
---|---|---|---|
GetCurrentFieldIndex | int | ||
GetFieldMarkers | TextRangeCollection |
||
GetTargetBuffer | ITextBuffer | ||
IsCaretInsideSnippetFields | bool | ||
PositionCaretInField | int | ||
SelectMarker | void | ||
SpanFromViewSpan | Span? | ||
TextSpanFromViewSpan | TextSpan? |
Method | Description | |
---|---|---|
EndExpansion ( ) : int | ||
EndExpansionSession ( bool leaveCaretWhereItIs ) : int | ||
ExpansionClient ( ITextView textView, ITextBuffer textBuffer, IVsExpansionManager expansionManager, IExpansionsCache cache ) : System.Collections.Generic | ||
FormatSpan ( IVsTextLines vsTextLines, TextSpan ts ) : int | ||
GetExpansionFunction ( MSXML xmlFunctionNode, string bstrFieldName, IVsExpansionFunction &pFunc ) : int | ||
GoToNextExpansionField ( ) : int | ||
GoToPreviousExpansionField ( ) : int | ||
InvokeInsertionUI ( int invokationCommand ) : int | ||
IsEditingExpansion ( ) : bool | ||
IsValidKind ( IVsTextLines pBuffer, TextSpan ts, string bstrKind, int &pfIsValidKind ) : int | ||
IsValidType ( IVsTextLines pBuffer, TextSpan ts, string rgTypes, int iCountTypes, int &pfIsValidType ) : int | ||
OnAfterInsertion ( IVsExpansionSession pSession ) : int | ||
OnBeforeInsertion ( IVsExpansionSession pSession ) : int | ||
OnItemChosen ( string pszTitle, string pszPath ) : int | ||
PositionCaretForEditing ( IVsTextLines pBuffer, TextSpan ts ) : int | ||
StartSnippetInsertion ( bool &snippetInserted ) : int |
Inserts a snippet based on a shortcut string.
|
Method | Description | |
---|---|---|
GetCurrentFieldIndex ( ) : int | ||
GetFieldMarkers ( ) : TextRangeCollection |
||
GetTargetBuffer ( ) : ITextBuffer | ||
IsCaretInsideSnippetFields ( ) : bool | ||
PositionCaretInField ( int index ) : int | ||
SelectMarker ( TextRangeCollection |
||
SpanFromViewSpan ( Span span ) : Span? | ||
TextSpanFromViewSpan ( Span span ) : TextSpan? |
Converts view span to TextSpan structure in the R buffer. TextSpan structure is used in legacy IVs* interfaces
|
public EndExpansionSession ( bool leaveCaretWhereItIs ) : int | ||
leaveCaretWhereItIs | bool | |
return | int |
public ExpansionClient ( ITextView textView, ITextBuffer textBuffer, IVsExpansionManager expansionManager, IExpansionsCache cache ) : System.Collections.Generic | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
expansionManager | IVsExpansionManager | |
cache | IExpansionsCache | |
return | System.Collections.Generic |
public FormatSpan ( IVsTextLines vsTextLines, TextSpan ts ) : int | ||
vsTextLines | IVsTextLines | |
ts | TextSpan | |
return | int |
public GetExpansionFunction ( MSXML xmlFunctionNode, string bstrFieldName, IVsExpansionFunction &pFunc ) : int | ||
xmlFunctionNode | MSXML | |
bstrFieldName | string | |
pFunc | IVsExpansionFunction | |
return | int |
public InvokeInsertionUI ( int invokationCommand ) : int | ||
invokationCommand | int | |
return | int |
public IsValidKind ( IVsTextLines pBuffer, TextSpan ts, string bstrKind, int &pfIsValidKind ) : int | ||
pBuffer | IVsTextLines | |
ts | TextSpan | |
bstrKind | string | |
pfIsValidKind | int | |
return | int |
public IsValidType ( IVsTextLines pBuffer, TextSpan ts, string rgTypes, int iCountTypes, int &pfIsValidType ) : int | ||
pBuffer | IVsTextLines | |
ts | TextSpan | |
rgTypes | string | |
iCountTypes | int | |
pfIsValidType | int | |
return | int |
public OnAfterInsertion ( IVsExpansionSession pSession ) : int | ||
pSession | IVsExpansionSession | |
return | int |
public OnBeforeInsertion ( IVsExpansionSession pSession ) : int | ||
pSession | IVsExpansionSession | |
return | int |
public OnItemChosen ( string pszTitle, string pszPath ) : int | ||
pszTitle | string | |
pszPath | string | |
return | int |
public PositionCaretForEditing ( IVsTextLines pBuffer, TextSpan ts ) : int | ||
pBuffer | IVsTextLines | |
ts | TextSpan | |
return | int |
public StartSnippetInsertion ( bool &snippetInserted ) : int | ||
snippetInserted | bool | |
return | int |