FreeTextBox and code formatting
while (true)
{
try
{
User.Post();
if (Forum.SoftwareReformatsCodeMessily){
User.Complain();
User.Pester();
User.RetryPost();
}
else{
User.BeHappy();
}
}
catch (Exception Ex){
User.Leave(Ex);
}
}
while (true)
{
try
{
User.Post();
if (Forum.SoftwareReformatsCodeMessily){
User.Complain();
User.Pester();
User.RetryPost();
}
else{
User.BeHappy();
}
}
catch (Exception Ex){
User.Leave(Ex);
}
}
I have had to hand-format code samples because I don't know any other way to restore the line spacing and the indentations for blocks of code. (I can work around most of the emoticon problems, but that is stoop labor too.)
Why can't we have a code button or something (a paragraph style?) that makes a <pre> block where format is preserve (and there is no interpretation of text sequences? And pasting from the clip-board into such a block should preserve formatting.
Being able to show readable code by pasting from Visual Studio is rather useful here, it seems to me.
- Dennis