Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Using Auto Justify Assignments
in SRP Editor
I recently ran into a client who did concatenation like this
I like to use the auto justify feature but found that the colon would disappear if I clicked next to the equal sign on the line I highlighted. I suspect the original code was done with a different editor as when I try to recreate this using the SRP Editor I cannot place the colon as shown in the image. I did not notice that the colon was going away until I introduced an error.
I am using editor version 3.4.5.0
I like to use the auto justify feature but found that the colon would disappear if I clicked next to the equal sign on the line I highlighted. I suspect the original code was done with a different editor as when I try to recreate this using the SRP Editor I cannot place the colon as shown in the image. I did not notice that the colon was going away until I introduced an error.
I am using editor version 3.4.5.0
Comments
Kevin there was also the same behavior with TotalVariable1+ = Variable1
That might provide a clue. Is the operator being treated differently from an alpha character as you readjust the spacing?
One other thing I noted was that if I position the cursor in front of the equal sign and type in a plus or colon then the misplaced one disappears and the corrected one is in the right position and the alignment works as I would expect.
I posted this to help others avoid the error I made. I make enough of my own, on my own. :-)
I see what you are experiencing. I agree with you, this code was obviously written with a native editor. I think I would consider this a bug with the SRP Editor, albeit a minor one.