(e)
| 1680 | }); |
| 1681 | |
| 1682 | function prepareCopy(e) { |
| 1683 | if (d.inaccurateSelection) { |
| 1684 | d.prevInput = ""; |
| 1685 | d.inaccurateSelection = false; |
| 1686 | d.input.value = cm.getSelection(); |
| 1687 | selectInput(d.input); |
| 1688 | } |
| 1689 | if (e.type == "cut") cm.state.cutIncoming = true; |
| 1690 | } |
| 1691 | on(d.input, "cut", prepareCopy); |
| 1692 | on(d.input, "copy", prepareCopy); |
| 1693 |
nothing calls this directly
no test coverage detected