C# Class Microsoft.R.Editor.Completion.RCompletionContext

R completion context. Provides information about current document, caret position and other necessary data for the completion engine.
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
IsCaretInLibraryStatement ( ITextView textView ) : bool
IsCaretInNamespace ( ITextView textView ) : bool
IsInNameSpace ( ) : bool
IsInNamespace ( ITextSnapshot snapshot, int position ) : bool
RCompletionContext ( ICompletionSession session, ITextBuffer textBuffer, AstRoot ast, int position ) : System

Method Details

IsCaretInLibraryStatement() public static méthode

public static IsCaretInLibraryStatement ( ITextView textView ) : bool
textView ITextView
Résultat bool

IsCaretInNamespace() public static méthode

public static IsCaretInNamespace ( ITextView textView ) : bool
textView ITextView
Résultat bool

IsInNameSpace() public méthode

public IsInNameSpace ( ) : bool
Résultat bool

IsInNamespace() public static méthode

public static IsInNamespace ( ITextSnapshot snapshot, int position ) : bool
snapshot ITextSnapshot
position int
Résultat bool

RCompletionContext() public méthode

public RCompletionContext ( ICompletionSession session, ITextBuffer textBuffer, AstRoot ast, int position ) : System
session ICompletionSession
textBuffer ITextBuffer
ast Microsoft.R.Core.AST.AstRoot
position int
Résultat System