I am using RStudio. I think you are right. The Julia REPL has no way to know where the pasted codes come from.