C# Class Microsoft.VisualStudio.R.Package.Repl.Commands.ReplCommandController

Main interactive window command controller
Inheritance: Microsoft.Languages.Editor.Controller.ViewController
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Attach ( ITextView textView, ITextBuffer textBuffer ) : ReplCommandController
BuildCommandSet ( ) : void
FromTextView ( ITextView textView ) : ReplCommandController
Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
ReplCommandController ( ITextView textView, ITextBuffer textBuffer ) : System
Status ( System.Guid group, int id ) : CommandStatus

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes main controller and removes it from service manager.

Private Methods

Method Description
FormatReplDocument ( ITextView textView, ITextBuffer textBuffer, int position ) : void
HandleCancel ( RCompletionController controller ) : void
HandleEnter ( RCompletionController controller ) : Microsoft.R.Components.Controller.CommandResult
HandleF1Help ( RCompletionController controller ) : void
IsCompletionCommand ( System.Guid group, int id ) : bool

Determines if command is one of the completion commands

Method Details

Attach() public static method

public static Attach ( ITextView textView, ITextBuffer textBuffer ) : ReplCommandController
textView ITextView
textBuffer ITextBuffer
return ReplCommandController

BuildCommandSet() public method

public BuildCommandSet ( ) : void
return void

Dispose() protected method

Disposes main controller and removes it from service manager.
protected Dispose ( bool disposing ) : void
disposing bool
return void

FromTextView() public static method

public static FromTextView ( ITextView textView ) : ReplCommandController
textView ITextView
return ReplCommandController

Invoke() public method

public Invoke ( System.Guid group, int id, object inputArg, object &outputArg ) : Microsoft.R.Components.Controller.CommandResult
group System.Guid
id int
inputArg object
outputArg object
return Microsoft.R.Components.Controller.CommandResult

ReplCommandController() public method

public ReplCommandController ( ITextView textView, ITextBuffer textBuffer ) : System
textView ITextView
textBuffer ITextBuffer
return System

Status() public method

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
return CommandStatus