Life In 19x19
http://www.lifein19x19.com/

Copy and Paste Bug?
http://www.lifein19x19.com/viewtopic.php?f=14&t=4430
Page 1 of 1

Author:  ez4u [ Tue Aug 09, 2011 10:57 pm ]
Post subject:  Copy and Paste Bug?

Sometimes when I copy and paste diagram code into a post, each line of the code is offset to the right four spaces. The diagram does not render and just shows up as a little box that says "Go Diagram". I am using Firefox 5.0 on Windows 7, although I think it has also happened using Safari on my iPad 2. It happens whether I select the text with my mouse of with the cursor. Do others have this experience? Does anyone know why it happens? It happens some of the time, other times everything pastes correctly. However, when it does happen, reselecting the text and copying it again does not fix the issue. I end up deleting the four spaces on each line.

Click Here To Show Diagram Code
[go]$$Wcm21 Komi: -15; Prisoners:
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . X . . . . . . . . . . . . . . |
$$ | . . X , . . . . X , . . . . . X . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . O . . . . . . X O . . |
$$ | . . O . O . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . X . . |
$$ | . . . X . X . O . . . . . . . . . . . |
$$ | . . . , . . . 2 . , . . . . . , . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . X O . . . . . . . . . . . . . . . |
$$ | . . X . . . . . . . . . . . . . O . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . . X . . . . . O . . . . . , . . . |
$$ | . . . . . O . . . . . . . . . O . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]

Author:  emeraldemon [ Tue Aug 09, 2011 11:15 pm ]
Post subject:  Re: Copy and Paste Bug?

happens to me sometimes. You can hit "quote" on a previous post to get the un-indented diagram.

Author:  ez4u [ Tue Aug 09, 2011 11:38 pm ]
Post subject:  Re: Copy and Paste Bug?

emeraldemon wrote:
happens to me sometimes. You can hit "quote" on a previous post to get the un-indented diagram.

Yo, :mrgreen:. Thanks for the help! :blackeye:

Author:  EdLee [ Wed Aug 10, 2011 12:54 am ]
Post subject: 

emeraldemon wrote:
You can hit "quote" on a previous post to get the un-indented diagram.
Yes, unless you're in a Malkovich game and you cannot hit "quote" because the post contains something hidden,
so back to copy and paste. :)

Author:  ez4u [ Wed Aug 10, 2011 1:27 am ]
Post subject:  Re:

EdLee wrote:
emeraldemon wrote:
You can hit "quote" on a previous post to get the un-indented diagram.
Yes, unless you're in a Malkovich game and you cannot hit "quote" because the post contains something hidden,
so back to copy and paste. :)

Arrgghh!! :o

Author:  tj86430 [ Wed Aug 10, 2011 1:58 am ]
Post subject:  Re: Copy and Paste Bug?

The trick is to hightlight only to the end of the last line of the diagram code (without the newline following it) before hitting "copy". If you highlight the newline after the last line, you will get the offset by 4, if not, you will get the correct diagram code.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/