PasteAssign assigns mime data (only the first one!) to this idx
(md mimedata.Mimes, idx int)
| 703 | |
| 704 | // PasteAssign assigns mime data (only the first one!) to this idx |
| 705 | func (tb *Table) PasteAssign(md mimedata.Mimes, idx int) { |
| 706 | recs := tb.FromMimeData(md) |
| 707 | if len(recs) == 0 { |
| 708 | return |
| 709 | } |
| 710 | tb.Table.Table.ReadCSVRow(recs[1], tb.Table.Indexes[idx]) |
| 711 | tb.UpdateChange() |
| 712 | } |
| 713 | |
| 714 | // PasteAtIndex inserts object(s) from mime data at (before) given slice index |
| 715 | // adds to end of table |
nothing calls this directly
no test coverage detected