Property | Type | Description | |
---|---|---|---|
ChangedUserInput | bool | ||
CreateReplCommandInput | |||
TextBuffer_Changed | void | ||
ToInputString | string |
Method | Description | |
---|---|---|
AddCode ( StringBuilder sb, dnSpy.Text.Editor.ReplSubBuffer buf, int startOffset, int endOffset ) : void | ||
AddCodeSubBuffer ( ) : void | ||
AddNewDocument ( ) : void | ||
AddOrUpdateOutputSubBuffer ( ) : void |
If the previous completed sub buffer is an output sub buffer, update it to include the new output, else create a new one.
|
|
AddSubBuffer ( dnSpy.Text.Editor.ReplSubBuffer buffer ) : void | ||
CanReplace ( SnapshotSpan span, string newText ) : bool | ||
ClearCurrentInput ( bool removePrompt ) : void | ||
ClearInput ( ) : void | ||
ClearPendingOutput ( ) : void | ||
ClearScreen ( ) : void | ||
ClearUndoRedoHistory ( ) : void | ||
CopyCode ( ) : void | ||
CreateEmptyLastLineIfNeededAndMoveCaret ( ) : void | ||
DelayScreenRefresh ( ) : void | ||
Dispose ( ) : void | ||
FilterOffset ( int offset ) : int | ||
FindBuffer ( int offset ) : dnSpy.Text.Editor.ReplSubBufferInfo | ||
FlushScriptOutput ( ) : void | ||
FlushScriptOutputUIThread ( ) : void | ||
GetCode ( ) : string | ||
IReplEditor ( IEnumerable |
||
IReplEditor ( string text, TextColor color, bool startOnNewLine ) : void | ||
IReplEditor ( string text, object color, bool startOnNewLine ) : void | ||
MoveTo ( int offset ) : void | ||
MoveToEnd ( ) : void | ||
OnCommandExecuted ( ) : void | ||
Options_OptionChanged ( object sender, EditorOptionChangedEventArgs e ) : void | ||
PrintPrompt ( ) : void | ||
RawAppend ( string text ) : void | ||
RefreshScreen ( ) : void | ||
RefreshScreenHandler ( object sender, |
||
ReplEditor ( dnSpy.Contracts.Text.Editor.ReplEditorOptions options, IDsTextEditorFactoryService dsTextEditorFactoryService, IContentTypeRegistryService contentTypeRegistryService, ITextBufferFactoryService textBufferFactoryService, IEditorOperationsFactoryService editorOperationsFactoryService, IEditorOptionsFactoryService editorOptionsFactoryService, IClassificationTypeRegistryService classificationTypeRegistryService, IThemeClassificationTypeService themeClassificationTypeService, IPickSaveFilename pickSaveFilename, ITextViewUndoManagerProvider textViewUndoManagerProvider ) : System | ||
Reset ( ) : void | ||
SaveCode ( string filenameNoExtension, string fileExtension, string filesFilter ) : void | ||
SaveText ( string filenameNoExtension, string fileExtension, string filesFilter ) : void | ||
SaveToFile ( string filenameNoExtension, string fileExtension, string filesFilter, string fileContents ) : void | ||
SelectNextCommand ( ) : void | ||
SelectPreviousCommand ( ) : void | ||
SelectSameTextNextCommand ( ) : void | ||
SelectSameTextPreviousCommand ( ) : void | ||
StopRefreshTimer ( ) : void | ||
TextBuffer_ChangedLowPriority ( object sender, TextContentChangedEventArgs e ) : void | ||
TrySubmit ( bool force ) : bool | ||
UpdateCommand ( bool clearSearchText ) : void | ||
UpdateRefreshScreenOnChange ( ) : void | ||
WpfTextView_Closed ( object sender, |
||
WpfTextView_Loaded ( object sender, |
||
WriteOffsetOfPrompt ( int newValue, bool force = false ) : void |
Method | Description | |
---|---|---|
ChangedUserInput ( TextContentChangedEventArgs e ) : bool | ||
CreateReplCommandInput ( TextContentChangedEventArgs e ) : |
||
TextBuffer_Changed ( object sender, TextContentChangedEventArgs e ) : void | ||
ToInputString ( string text, string prefixString ) : string |
public AddCode ( StringBuilder sb, dnSpy.Text.Editor.ReplSubBuffer buf, int startOffset, int endOffset ) : void | ||
sb | StringBuilder | |
buf | dnSpy.Text.Editor.ReplSubBuffer | |
startOffset | int | |
endOffset | int | |
return | void |
public AddSubBuffer ( dnSpy.Text.Editor.ReplSubBuffer buffer ) : void | ||
buffer | dnSpy.Text.Editor.ReplSubBuffer | |
return | void |
public CanReplace ( SnapshotSpan span, string newText ) : bool | ||
span | SnapshotSpan | |
newText | string | |
return | bool |
public ClearCurrentInput ( bool removePrompt ) : void | ||
removePrompt | bool | |
return | void |
public CreateEmptyLastLineIfNeededAndMoveCaret ( ) : void | ||
return | void |
public FindBuffer ( int offset ) : dnSpy.Text.Editor.ReplSubBufferInfo | ||
offset | int | |
return | dnSpy.Text.Editor.ReplSubBufferInfo |
public IReplEditor ( IEnumerable |
||
text | IEnumerable |
|
return | void |
public IReplEditor ( string text, TextColor color, bool startOnNewLine ) : void | ||
text | string | |
color | TextColor | |
startOnNewLine | bool | |
return | void |
public IReplEditor ( string text, object color, bool startOnNewLine ) : void | ||
text | string | |
color | object | |
startOnNewLine | bool | |
return | void |
public Options_OptionChanged ( object sender, EditorOptionChangedEventArgs e ) : void | ||
sender | object | |
e | EditorOptionChangedEventArgs | |
return | void |
public RefreshScreenHandler ( object sender, |
||
sender | object | |
e | ||
return | void |
public ReplEditor ( dnSpy.Contracts.Text.Editor.ReplEditorOptions options, IDsTextEditorFactoryService dsTextEditorFactoryService, IContentTypeRegistryService contentTypeRegistryService, ITextBufferFactoryService textBufferFactoryService, IEditorOperationsFactoryService editorOperationsFactoryService, IEditorOptionsFactoryService editorOptionsFactoryService, IClassificationTypeRegistryService classificationTypeRegistryService, IThemeClassificationTypeService themeClassificationTypeService, IPickSaveFilename pickSaveFilename, ITextViewUndoManagerProvider textViewUndoManagerProvider ) : System | ||
options | dnSpy.Contracts.Text.Editor.ReplEditorOptions | |
dsTextEditorFactoryService | IDsTextEditorFactoryService | |
contentTypeRegistryService | IContentTypeRegistryService | |
textBufferFactoryService | ITextBufferFactoryService | |
editorOperationsFactoryService | IEditorOperationsFactoryService | |
editorOptionsFactoryService | IEditorOptionsFactoryService | |
classificationTypeRegistryService | IClassificationTypeRegistryService | |
themeClassificationTypeService | IThemeClassificationTypeService | |
pickSaveFilename | IPickSaveFilename | |
textViewUndoManagerProvider | ITextViewUndoManagerProvider | |
return | System |
public SaveCode ( string filenameNoExtension, string fileExtension, string filesFilter ) : void | ||
filenameNoExtension | string | |
fileExtension | string | |
filesFilter | string | |
return | void |
public SaveText ( string filenameNoExtension, string fileExtension, string filesFilter ) : void | ||
filenameNoExtension | string | |
fileExtension | string | |
filesFilter | string | |
return | void |
public SaveToFile ( string filenameNoExtension, string fileExtension, string filesFilter, string fileContents ) : void | ||
filenameNoExtension | string | |
fileExtension | string | |
filesFilter | string | |
fileContents | string | |
return | void |
public SelectSameTextPreviousCommand ( ) : void | ||
return | void |
public TextBuffer_ChangedLowPriority ( object sender, TextContentChangedEventArgs e ) : void | ||
sender | object | |
e | TextContentChangedEventArgs | |
return | void |
public UpdateCommand ( bool clearSearchText ) : void | ||
clearSearchText | bool | |
return | void |
public UpdateRefreshScreenOnChange ( ) : void | ||
return | void |
public WpfTextView_Closed ( object sender, |
||
sender | object | |
e | ||
return | void |
public WpfTextView_Loaded ( object sender, |
||
sender | object | |
e | ||
return | void |
public WriteOffsetOfPrompt ( int newValue, bool force = false ) : void | ||
newValue | int | |
force | bool | |
return | void |