JunoLab / Juno.jl

MIT License
144 stars 23 forks source link

[BUG] Copying single value from answer-hover-window copies everything #549

Open xximranxx opened 4 years ago

xximranxx commented 4 years ago

Not sure whether this belongs here or on Atom.jl

After running a line in the text editor, the answer is shown hovering (inline)

Copying from that hovering window does not copy the intended value only, but the entire answer window

E.g. running x=Dict(:a => 1, :b => 2) show the Dict hovering -> If I want to copy only a certain value from the hovering window, I can select it and copy, but the clipboard then contains the entire window (Dict) and not only the value selected

Screenshot 2020-04-08 at 10 02 31

Details

Steps to reproduce

  1. Run x=Dict(:a => 1, :b => 2)
  2. Copy a single value from the hovering answer window
  3. Paste somewhere
pfitzseb commented 4 years ago

For now you can copy the selected value with Ctrl-C, but yes, the context menu should do the same.

xximranxx commented 4 years ago

No, Ctrl-C has the same effect - it copies the entire window

pfitzseb commented 4 years ago

Not for me: Peek 2020-04-08 16-42

xximranxx commented 4 years ago

Strange...for me not, on macOS Even in the simple case that you present, it copies the entire String

xximranxx commented 4 years ago

Btw, how did you make the gif? I will do the same to show