Excellent work by Microsoft.
I remember all those problems with the old post editor; text and code snippets were regularly messed up. I resorted to writing my own post editor to paste HTML into the post editor. It was a lightweight HTML editor (a bit like Windows Live Writer).
But now Microsoft have sorted out those problems -- great work!
Here's some utilities I wrote to help me out with code snippets:
Copy As HTML for Visual Studio 2008
Paste As Visual Studio Code Plug-in for
Window Live WriterHere's a sample:
Code Snippet
- using System;
- using System.Windows.Forms;
- using System.Drawing;
-
- namespace WindowsFormsApplication1
- {
- /// <summary>
- /// Class summary.
- /// </summary>
- public partial class Form1 : Form
- {
- /// <summary>
- /// Constructor summary.
- /// </summary>
- public Form1()
- {
- InitializeComponent();
- }
- }
- }