Okay, I'm pretty solid on the HtmlEditor that I'm going to use for my little side project. It's a sweet editor. Honestly, it has more features than I think are necessary in this case, but that's okay with me.
On to the topic at hand. Originally, I spec'ed the Codify option to be in a dialog because that seemed like a nice tradeoff. I also tried a method that would allow you to either type code into the design surface or copy/paste it from your favorite editor, click a button, and bam! it's formatted. Seems like a winner, but the problem is that when you copy/paste into the editor, you lose tabs/spaces.
So how would you like it to work?