Dear Friends at Epic,
Presently, for my end of things at least, when code is posted in a comment, the code loses the coloring and for me shows up as absolutely garish orange on white background, which is nearly impossible to read without squinting.
I have posted a comment on this post to illustrate.
Here’s the normal coloring, see my same code in the comment below to see my point:
//only run on server
AVictoryWarrior* AVictoryGamePlayerController::GetWarriorWithPlayerVibe(int32 &PlayerVibeFuncIn)
{
//Thank you Marc Audy for this shortened version!!!!
TActorIterator< AVictoryWarrior > ActorItr(GetWorld());
while (ActorItr)
{
if (Cast(*ActorItr)->PlayerVibe == PlayerVibeFuncIn)
{
return *ActorItr;
}
++ActorItr;
}
return NULL;
}
Code in the main post or actual full answers gets pretty, easy-to-read coloring.
These facts have lead me to the habit of editing my main post with updates, or posting answers that are not new or different answers, just to get the code to have easier-to-read coloring.
Request
Please change the comment code coloring syntax to match the main post, or at least not be orange on white, not a good combo for anyone I imagine, except maybe goldfish.
Request 2
While on the top of code coloring and syntax
I have run into a ridiculously irritating and simple problem with how the auto-editing posts in this particular forum works
If I try to write
//this is the correct appearance with the carrot symbols intact
TActorIterator ActorItr(GetWorld());
but I only write it as a single line of code
the end result is this
TActorIterator ActorItr(GetWorld());
and forget it
if I try it write carrot symbols without any code syntax
I get this
TActorIterator ActorItr(GetWorld());
Note that in my original writing of this post I have included the same exact code each time, and the forum itself is modifying the appearance of my code
if the carrot symbols absolutely have to be edited in this way due to forum specific syntax than please at least
Request
make it so that single lines of syntaxed code still include the carrot symbosl