I think there should be an additional keyboard map option: Paste Removes Mark.

Currently, when I copy something, double-click to select a word/term and then paste, there is still a selection remaining. This is rather annoying and incongruent with other popular editors. I believe this option should be kept separate from the similar Cut/Copy Removes Mark option.

Actually, when copying something, I like to see the selection remain after I copy it. This is congruent with many (most?) other Windows-based text editors, Excel, etc. To me, it is distracting to see my selection suddenly disappear after I press [Ctrl]+[C]. Cutting, though, is another matter entirely. My selection and the cut text should both disappear after a "cut" take place. It puzzles me why cut and copy were ever grouped together and not implemented as separate options.

You are correct - when Cut/copy removes mark is selected, pasting also removes mark. I did not have this option selected because I like/expect to see my selection after copying until I press some navigation or input key. THanks for the tip. I guess I'll have to endure the remaining selection post-paste because I don't want to give up seeing my selection immediately after a [Ctr]+[C] combination.

function key_macro()
if is_window() > 0 then
if is_marked() > 0 then
local marked_text = macro_tag("$Marked")
set_clipboard_text(marked_text )
message("The marked text has been added to clipboard.")
else
message("No text area has been marked!")
beep()
end
else
message("To run this macro you need an active window.")
beep()
end
end
key_macro() -- run the macro