FreeTextBox and code formatting

FreeTextBox messes up my code samplesSmile

while (true)

{

try

{

User.Post();

if (Forum.SoftwareReformatsCodeMessily)

{

User.Complain();

User.Pester();

User.RetryPost();

}

else

{

User.BeHappy();

}

}

catch (Exception Ex)

{

User.Leave(Ex);

}

}

[875 byte] By [SimonSoanes] at [2008-1-27]
# 1


if (User.MissesThings)

{

User.HitHead(500);

}


SimonSoanes at 2007-8-21 > top of Msdn Tech,Feedback for forums and MSDN websites,Bug Reports for Forums website...
# 2
Even that behaved oddly...
SimonSoanes at 2007-8-21 > top of Msdn Tech,Feedback for forums and MSDN websites,Bug Reports for Forums website...
# 3
I assume you're referring to the smilies appearing in odd places and the line breaks getting removed? If so, we're rolling out a service pack at the end of the month which fixes those.
LisaAmblerMSFT at 2007-8-21 > top of Msdn Tech,Feedback for forums and MSDN websites,Bug Reports for Forums website...
# 4

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

orcmid at 2007-8-21 > top of Msdn Tech,Feedback for forums and MSDN websites,Bug Reports for Forums website...
# 5
The new test editor does contain a code block button and some improvements to the formatting. There is another service pack for the text editor due out sometime in May which should improve it even more. Thanks!
PennyP at 2007-8-21 > top of Msdn Tech,Feedback for forums and MSDN websites,Bug Reports for Forums website...