public PasteText ( int offset, string text, byte copyData, IDisposable &undoGroup ) : int | ||
offset | int | |
text | string | |
copyData | byte | |
undoGroup | IDisposable | |
return | int |
using Mono.TextEditor; TextEditorData data = new TextEditorData(); data.PasteText("This is some sample text");In this example, a new instance of the TextEditorData class is created, and the PasteText method is called to insert the text "This is some sample text" into the text editor. The Mono.TextEditor library is part of the MonoDevelop Integrated Development Environment (IDE) for C# and other .NET languages.
public PasteText ( int offset, string text, byte copyData, IDisposable &undoGroup ) : int | ||
offset | int | |
text | string | |
copyData | byte | |
undoGroup | IDisposable | |
return | int |