public void PasteSelection() { page.Deselect(); Line[] lines = CopyPaster.PasteLines(page.GetHashCode()); page.AddLines(lines); ShowSelectionMenu(); SelectionChanged.Invoke(this, lines); RefreshPage(); }
protected override void WndProc(ref Message m) { uint WM_DRAWCLIPBOARD = 0x0308; if (m.Msg == WM_DRAWCLIPBOARD) { btnPaste.Visible = CopyPaster.CheckClipboard(); } base.WndProc(ref m); }
public void CopySelection() { CopyPaster.CopyLine(page.GetSelectedLines().ToArray(), page.GetHashCode()); }