code insertion bug has come back ...http://forums.asp.net/t/1790054.aspx/1?code+insertion+bug+has+come+back+Thu, 03 May 2012 16:22:58 -040017900544919983http://forums.asp.net/p/1790054/4919983.aspx/1?code+insertion+bug+has+come+back+code insertion bug has come back ... <p>the insert code feature was fixed to give proper monospacing ... that fix is now broken:</p> <pre class="prettyprint">this code snippet should have nicely formatted leading spaces: (a) String secretWord = &quot;hello&quot;; (b) String showAnswer = &quot;*****&quot;; (c) for (int i = 0; i &lt; 100; i&#43;&#43;) { (d) if (userGuess.Text == &quot;h&quot;) (e) { (f) showAnswer = &quot;h****&quot;; (g) theWord.Text = showAnswer; (h) if (userGuess.Text == &quot;e&quot;) { (i) showAnswer = &quot;he***&quot;; (j) theWord.Text = showAnswer; (k) if (userGuess.Text == &quot;l&quot;) { (l) showAnswer = &quot;hell*&quot;; (m) theWord.Text = showAnswer; (n) if (userGuess.Text == &quot;o&quot;) { (o) showAnswer = &quot;hello&quot;; (p) theWord.Text = showAnswer; } // if (userGuess.Text == &quot;o&quot;) } // if (userGuess.Text == &quot;l&quot;) } // if (userGuess.Text == &quot;e&quot;) } // if (userGuess.Text == &quot;h&quot;) (q) else (u) theWord.Text = showAnswer; (v) } // for (int i = 0; i &lt; 100; i&#43;&#43;)</pre> <p>this is the code from above with many of the spaces replaced by periods to show the code's shape:</p> <pre class="prettyprint">(a)..String secretWord = "hello"; (b)..String showAnswer = "*****"; (c)..for (int i = 0; i &lt; 100; i++) .... { (d)......if (userGuess.Text == "h") (e)......{ (f)..........showAnswer = "h****"; (g)..........theWord.Text = showAnswer; (h)..........if (userGuess.Text == "e") ............ { (i)..............showAnswer = "he***"; (j)..............theWord.Text = showAnswer; (k)..............if (userGuess.Text == "l") ................ { (l)..................showAnswer = "hell*"; (m)..................theWord.Text = showAnswer; (n)..................if (userGuess.Text == "o") .................... { (o)......................showAnswer = "hello"; (p)......................theWord.Text = showAnswer; .................... } // if (userGuess.Text == "o") ................ } // if (userGuess.Text == "l") ............ } // if (userGuess.Text == "e") ........ } // if (userGuess.Text == "h").. (q)......else (u)..........theWord.Text = showAnswer; (v)..} // for (int i = 0; i &lt; 100; i++) g. P.S.: ie8 which is still is more or less tied as the major browser world wide (although not among developers). win7 </pre> <p><br> <br> </p> 2012-04-06T17:05:03-04:004919985http://forums.asp.net/p/1790054/4919985.aspx/1?Re+code+insertion+bug+has+come+back+Re: code insertion bug has come back ... <p>using Firefox 11.0, win7</p> <pre class="prettyprint">(a) String secretWord = &quot;hello&quot;; (b) String showAnswer = &quot;*****&quot;; (c) for (int i = 0; i &lt; 100; i&#43;&#43;) { (d) if (userGuess.Text == &quot;h&quot;) (e) { (f) showAnswer = &quot;h****&quot;; (g) theWord.Text = showAnswer; (h) if (userGuess.Text == &quot;e&quot;) { (i) showAnswer = &quot;he***&quot;; (j) theWord.Text = showAnswer; (k) if (userGuess.Text == &quot;l&quot;) { (l) showAnswer = &quot;hell*&quot;; (m) theWord.Text = showAnswer; (n) if (userGuess.Text == &quot;o&quot;) { (o) showAnswer = &quot;hello&quot;; (p) theWord.Text = showAnswer; } // if (userGuess.Text == &quot;o&quot;) } // if (userGuess.Text == &quot;l&quot;) } // if (userGuess.Text == &quot;e&quot;) } // if (userGuess.Text == &quot;h&quot;) (q) else (u) theWord.Text = showAnswer; (v) } // for (int i = 0; i &lt; 100; i&#43;&#43;)</pre> <p>with periods:</p> <pre class="prettyprint">(a)..String secretWord = "hello"; (b)..String showAnswer = "*****"; (c)..for (int i = 0; i &lt; 100; i++) .... { (d)......if (userGuess.Text == "h") (e)......{ (f)..........showAnswer = "h****"; (g)..........theWord.Text = showAnswer; (h)..........if (userGuess.Text == "e") ............ { (i)..............showAnswer = "he***"; (j)..............theWord.Text = showAnswer; (k)..............if (userGuess.Text == "l") ................ { (l)..................showAnswer = "hell*"; (m)..................theWord.Text = showAnswer; (n)..................if (userGuess.Text == "o") .................... { (o)......................showAnswer = "hello"; (p)......................theWord.Text = showAnswer; .................... } // if (userGuess.Text == "o") ................ } // if (userGuess.Text == "l") ............ } // if (userGuess.Text == "e") ........ } // if (userGuess.Text == "h").. (q)......else (u)..........theWord.Text = showAnswer; (v)..} // for (int i = 0; i &lt; 100; i++) </pre> <p>g.<br> <br> <br> </p> 2012-04-06T17:07:22-04:004923161http://forums.asp.net/p/1790054/4923161.aspx/1?Re+code+insertion+bug+has+come+back+Re: code insertion bug has come back ... <p>Thanks for the report. We'll look into this and report back.</p> 2012-04-09T14:21:51-04:004923781http://forums.asp.net/p/1790054/4923781.aspx/1?Re+code+insertion+bug+has+come+back+Re: code insertion bug has come back ... <p>welcome</p> 2012-04-09T22:24:13-04:004964125http://forums.asp.net/p/1790054/4964125.aspx/1?Re+code+insertion+bug+has+come+back+Re: code insertion bug has come back ... <p>To follow up, this issue was resolved with last night's forums deployment.</p> 2012-05-03T16:22:58-04:00