ManyClipboards
From Niki
Make three menu entries for cut, copy and pasting containing the subsequent macros, respectively. With a little more work, you can achieve more than just one clipboard, by changing the index i obviously.
# Cut i = 1 $jf_clipboards[i] = get_selection() delete_selection()
# Copy
i = 1
$jf_clipboards[i] = get_selection()
# to get X selections also from outside NEdit, write
# $jf_clipboards[i] = get_selection("any")
# Pasting
i = 1
$jf_clipboards[""] = ""
if (!(i in $jf_clipboards)) {
$jf_clipboards[i] = ""
}
if ($jf_clipboards[i] != "") {
insert_string($jf_clipboards[i])
}
