C# Class Microsoft.R.Components.History.Implementation.RHistory

Inheritance: IRHistory
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
AddToHistory ( string text ) : void
ClearHistoryEntrySelection ( ) : void
CopySelection ( ) : void
DeleteAllHistoryEntries ( ) : void
DeleteSelectedHistoryEntries ( ) : void
DeselectHistoryEntry ( int lineNumber ) : SnapshotSpan
Dispose ( ) : void
GetAllHistoryEntrySpans ( ) : IReadOnlyList
GetOrCreateVisualComponent ( IRHistoryVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRHistoryWindowVisualComponent
GetSelectedHistoryEntrySpans ( ) : IReadOnlyList
GetSelectedText ( ) : string
NextEntry ( ) : void
PreviousEntry ( ) : void
RHistory ( IRInteractiveWorkflow interactiveWorkflow, ITextBuffer textBuffer, IFileSystem fileSystem, IRSettings settings, IEditorOperationsFactoryService editorOperationsFactory, IRtfBuilderService rtfBuilderService, System.Action dispose ) : System
ScrollPageDown ( ) : void
ScrollPageUp ( ) : void
ScrollToBottom ( ) : void
ScrollToTop ( ) : void
SelectAllEntries ( ) : void
SelectHistoryEntries ( IEnumerable lineNumbers ) : void
SelectHistoryEntry ( int lineNumber ) : SnapshotSpan
SelectNextHistoryEntry ( ) : void
SelectPreviousHistoryEntry ( ) : void
SendSelectedToRepl ( ) : void
SendSelectedToTextView ( ITextView textView ) : void
ToggleHistoryEntrySelection ( int lineNumber ) : SnapshotSpan
TryLoadFromFile ( string path ) : bool
TrySaveToFile ( string path ) : bool

Private Methods

Méthode Description
AdjustAddToHistoryScrolling ( ) : IDisposable
CreateEntries ( string historyLines ) : void
DeleteAllEntries ( ) : void
DeleteSelectedTrackingSpans ( ) : void
EditTextBuffer ( ) : IDisposable
GetHistoryEntryFromLineNumber ( int lineNumber ) : IRHistoryEntry
GetHistoryEntryFromPosition ( int position ) : IRHistoryEntry
MakeTextBufferReadOnly ( ) : void
OnSelectionChanged ( ) : void
SelectAndDispalyEntry ( IRHistoryEntry entryToSelect, ViewRelativePosition relativeTo ) : void

Method Details

AddToHistory() public méthode

public AddToHistory ( string text ) : void
text string
Résultat void

ClearHistoryEntrySelection() public méthode

public ClearHistoryEntrySelection ( ) : void
Résultat void

CopySelection() public méthode

public CopySelection ( ) : void
Résultat void

DeleteAllHistoryEntries() public méthode

public DeleteAllHistoryEntries ( ) : void
Résultat void

DeleteSelectedHistoryEntries() public méthode

public DeleteSelectedHistoryEntries ( ) : void
Résultat void

DeselectHistoryEntry() public méthode

public DeselectHistoryEntry ( int lineNumber ) : SnapshotSpan
lineNumber int
Résultat SnapshotSpan

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAllHistoryEntrySpans() public méthode

public GetAllHistoryEntrySpans ( ) : IReadOnlyList
Résultat IReadOnlyList

GetOrCreateVisualComponent() public méthode

public GetOrCreateVisualComponent ( IRHistoryVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRHistoryWindowVisualComponent
visualComponentContainerFactory IRHistoryVisualComponentContainerFactory
instanceId int
Résultat IRHistoryWindowVisualComponent

GetSelectedHistoryEntrySpans() public méthode

public GetSelectedHistoryEntrySpans ( ) : IReadOnlyList
Résultat IReadOnlyList

GetSelectedText() public méthode

public GetSelectedText ( ) : string
Résultat string

NextEntry() public méthode

public NextEntry ( ) : void
Résultat void

PreviousEntry() public méthode

public PreviousEntry ( ) : void
Résultat void

RHistory() public méthode

public RHistory ( IRInteractiveWorkflow interactiveWorkflow, ITextBuffer textBuffer, IFileSystem fileSystem, IRSettings settings, IEditorOperationsFactoryService editorOperationsFactory, IRtfBuilderService rtfBuilderService, System.Action dispose ) : System
interactiveWorkflow IRInteractiveWorkflow
textBuffer ITextBuffer
fileSystem IFileSystem
settings IRSettings
editorOperationsFactory IEditorOperationsFactoryService
rtfBuilderService IRtfBuilderService
dispose System.Action
Résultat System

ScrollPageDown() public méthode

public ScrollPageDown ( ) : void
Résultat void

ScrollPageUp() public méthode

public ScrollPageUp ( ) : void
Résultat void

ScrollToBottom() public méthode

public ScrollToBottom ( ) : void
Résultat void

ScrollToTop() public méthode

public ScrollToTop ( ) : void
Résultat void

SelectAllEntries() public méthode

public SelectAllEntries ( ) : void
Résultat void

SelectHistoryEntries() public méthode

public SelectHistoryEntries ( IEnumerable lineNumbers ) : void
lineNumbers IEnumerable
Résultat void

SelectHistoryEntry() public méthode

public SelectHistoryEntry ( int lineNumber ) : SnapshotSpan
lineNumber int
Résultat SnapshotSpan

SelectNextHistoryEntry() public méthode

public SelectNextHistoryEntry ( ) : void
Résultat void

SelectPreviousHistoryEntry() public méthode

public SelectPreviousHistoryEntry ( ) : void
Résultat void

SendSelectedToRepl() public méthode

public SendSelectedToRepl ( ) : void
Résultat void

SendSelectedToTextView() public méthode

public SendSelectedToTextView ( ITextView textView ) : void
textView ITextView
Résultat void

ToggleHistoryEntrySelection() public méthode

public ToggleHistoryEntrySelection ( int lineNumber ) : SnapshotSpan
lineNumber int
Résultat SnapshotSpan

TryLoadFromFile() public méthode

public TryLoadFromFile ( string path ) : bool
path string
Résultat bool

TrySaveToFile() public méthode

public TrySaveToFile ( string path ) : bool
path string
Résultat bool