Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CutCommand.cs « Commands « TextEditorLib « Samples - github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 751cac7c451036a68adc19f62418e53ace3c992e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

using System;

namespace TextEditor
{
	
	
	public class CutCommand: ICommand
	{
		public void Run ()
		{
			Gtk.Clipboard clipboard = Gtk.Clipboard.Get (Gdk.Atom.Intern ("CLIPBOARD", false));
			TextEditorApp.MainWindow.View.Buffer.CutClipboard (clipboard, true);
		}
	}
}