Insert.cpp.patch

Abdelghani Omari, 09/27/2018 01:16 PM

Download (473 Bytes)

View differences:

Insert.cpp (working copy)
199 199
	OnlineSearchMenu(bar);
200 200
	bar.MenuSeparator();
201 201
	editor.StdBar(bar);
202
	
203
	bar.Add(editor.IsSelection() && IsClipboardAvailableText(), "Diff", [=]() {
204
		DiffDlg dlg;
205
		dlg.diff.left.RemoveFrame(dlg.p);
206
		dlg.diff.Set(ReadClipboardText(), editor.GetSelection());
207
		dlg.Run();
208
	});
202 209
}