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.
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method 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 method

public static IsCaretInLibraryStatement ( ITextView textView ) : bool
textView ITextView
return bool

IsCaretInNamespace() public static method

public static IsCaretInNamespace ( ITextView textView ) : bool
textView ITextView
return bool

IsInNameSpace() public method

public IsInNameSpace ( ) : bool
return bool

IsInNamespace() public static method

public static IsInNamespace ( ITextSnapshot snapshot, int position ) : bool
snapshot ITextSnapshot
position int
return bool

RCompletionContext() public method

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