This is a test post using the Graffiti post editor to see how code will display pasted from various sources.
Sample pasted from Visual Studio:
public object GetValueByIndex(int index)object returnData = null;if(index<this.EntityProperties.Length)this.EntityProperties[index].GetValue(this,null);return returnData;
Sample pasted from Visual Studio to Word 2007 and into Graffit post editor:
public object GetValueByIndex(int index)
{
object returnData = null;
if(index<this.EntityProperties.Length)
{
returnData = this.EntityProperties[index].GetValue(this,null);
}
return returnData;
}
Sample pasted from Visual Studio to Word 2007 and into Graffit post editor and then cleaned with Graffiti Word Cleaner:
Sample pasted from Visual Studio to Notepad and into Graffit post editor:
public object GetValueByIndex(int index)
{
object returnData = null;
if(index<this.EntityProperties.Length)
{
returnData = this.EntityProperties[index].GetValue(this,null);
}
return returnData;
}
I gave up on trying to mess with the HTML with the Graffiti post editor. Even if I didn't make a change, mearly switching from source view to non-source view would muck up the post. It wasn't usable. :(
» Similar Posts
- Test Code Post From Windows Live Writer
- Test using a source code plug-in for Windows Live Writer
- Dropdown Filter Web Part in SharePoint – Part Two
» Trackbacks & Pingbacks
http://bilbrobloggins.com/trackback.ashx?id=6