public void Paste(bool canInsertInInputBox)
 {
     if (MainForm.OutputWindow != null && MainForm.OutputWindow.InputTextBox != null &&
         MainForm.OutputWindow.InputTextBox.Focused && canInsertInInputBox)
     {
         MainForm.OutputWindow.InputTextBox.Paste();
         return;
     }
     ICSharpCode.TextEditor.Actions.Paste paste = new ICSharpCode.TextEditor.Actions.Paste();
     paste.Execute(TextEditor.ActiveTextAreaControl.TextArea);
 }
Exemplo n.º 2
0
 public void Paste(bool canInsertInInputBox)
 {
     if (MainForm.OutputWindow != null && MainForm.OutputWindow.InputTextBox != null &&
         MainForm.OutputWindow.InputTextBox.Focused && canInsertInInputBox)
     {
         MainForm.OutputWindow.InputTextBox.Paste();
         return;
     }
     ICSharpCode.TextEditor.Actions.Paste paste = new ICSharpCode.TextEditor.Actions.Paste();
     paste.Execute(TextEditor.ActiveTextAreaControl.TextArea);
 }