-1

This is where I choose:

I thought the text I selected JPG

Actually, I select this:

Actually selected text JPG

How to fix this, or it's just a bug?

KyleMit
  • 30,350
  • 66
  • 462
  • 664
朱家佑
  • 11
  • 3
  • Can you clarify your question? Is it related to programming itself or to working with some program? – Nico Haase Apr 03 '18 at 07:32
  • It's clearly about the ide itself, it cannot work correctly. Text in C9's terminal cannot be correctly copied. There's nothing to do with programming or some program. – 朱家佑 Apr 03 '18 at 07:53
  • Then you need to clarify your question. We cannot guess what "where I choose" and "I select this" means – Nico Haase Apr 03 '18 at 07:54
  • Ooh, that's necessary pics, but I still don't get enough reputation to post them. – 朱家佑 Apr 03 '18 at 08:00
  • I have had a look at the pictures from the beginning, but I don't have a clue what they mean – Nico Haase Apr 03 '18 at 08:14
  • Okay, you know now??? – 朱家佑 Apr 03 '18 at 08:29
  • No, you have not shared any more context yet. According to these images, the first image comes from a terminal and the second does not. But that does not solve the mystery what your problem is – Nico Haase Apr 03 '18 at 08:31
  • Why should I paste in a terminal? Can you see "copy"? It's clealy easier to edit in a editor, but not a terminal. – 朱家佑 Apr 03 '18 at 08:35
  • And sadly, you don't want to help me understand your problem. If you want to get help, you shoud provide more context instead of being rude – Nico Haase Apr 03 '18 at 08:39
  • I think my problem is quite clear, you just cannot understand it. – 朱家佑 Apr 03 '18 at 08:40
  • If it was quite clear, why would I waste my time asking you to be more precise about it, when you don't want to clarify? SO is not a private support chat, but a page that should help others learn from your problems and the solutions. – Nico Haase Apr 03 '18 at 08:42

1 Answers1

0

There's a couple things that could be at play. Cloud9 uses the Ace Editor which is not a standard text box. You NEED to use a monospaced font with Ace as otherwise the text selections might not line up with what's being selected (since this is built on an HTML5 canvas).

Additionally, Cloud9 does use a nonstandard clipboard in order to facilitate Ace. Make sure you copy with Ctrl + c and paste with Ctrl + v as otherwise you may use the system's default clipboard (so an older block of text may be used instead).

brycei
  • 125
  • 3
  • Thank you very much. I've changed the terminal font before. It works correctly after I reset fonts to default. – 朱家佑 Apr 05 '18 at 11:46