I'm running the latest release build (I'm running 3.2.0.83), but I searched the board for similar topics and I looked though the changelog for 3.2.1, and I did not find that the latest debug build addresses this issue.
I found that when parsing text pasted with Ctrl+Shift+B, DROD conveniently trims spaces between tokens. In most cases, this is good, because it allows the user to organize their code and line stuff up with whitespace.
But this behavior results in a little quirk when it comes to Labels, which can have spaces at the beginning and end. These spaces are included when you copy with Ctrl+B, but are removed when you paste back with Ctrl+Shift+B. Using Ctrl+B and Ctrl+Shift+B in sequence on such a label will produce a copy that only differs from the original in leading/trailing spaces; DROD will not add a 0 at the end, because the content of the label is different.
This is particularly bad when a label has just trailing spaces.
Click here to view the secret text
×
For this command in the game:
Label "foo "
Pressing Ctrl+B puts this in the clipboard:
Label foo
Pressing Ctrl+Shift+B results in this in the game:
Label "foo "
Label "foo"
It will be impossible to tell these apart in the Goto list.
____________________________
Also known as ExpHP everywhere else.
[Last edited by Kwakstur at 02-08-2010 05:49 AM]