Just noticed that your blog template is missing the usual RSS feed link (http://peteohanlon.wordpress.com/feed/). Don’t know whether you removed it on purpose though…
Hello, nice site you have here. Quick question, what plugin did you use to highlight code on your site? I was looking for something like that to put in code musings but gave up a while ago…
It’s built into WordPress.com. All you do is wrap your code in [ sourcecode language='csharp'][/ sourcecode]. I find it works best if I edit my post in something like Notepad and then paste it in with the sourcecode markup tags already present.
Tom, I was searching for the same thing and it was exactly that peter said.
If you need more information and other tag details, just check it http://support.wordpress.com/code/
We are developing a vector drawing application in WPF but have run up against a snag. For example, if I draw a simple rectangle (this uses the rectangle geometry class to draw the rectangle on the canvas) I then have an option to “convert the rectangle to “Bezier” which changes the rectangle class to “path geometry” in order to edit the individual nodes of the rectangle shape.
Is there a way to change this back to a rectangle geometry class? After editing the rectangle nodes, I want to have the ability to resize the rectangle, for example, but am unable to do this.
This would be similar to how Microsoft handles this in Expression Design. They have the Selection tool that allows you to resize, rotate, etc. the drawn shape, and when you switch to the Direct Selection tool the adorner is no longer there which allows you to edit the nodes of the shape. When you then switch back to the Selection tool, the node editing is no longer there and you can then resize, rotate, etc. again.
Just noticed that your blog template is missing the usual RSS feed link (http://peteohanlon.wordpress.com/feed/). Don’t know whether you removed it on purpose though…
Cheers,
Philipp
Hello, nice site you have here. Quick question, what plugin did you use to highlight code on your site? I was looking for something like that to put in code musings but gave up a while ago…
Tom
It’s built into WordPress.com. All you do is wrap your code in [ sourcecode language='csharp'][/ sourcecode]. I find it works best if I edit my post in something like Notepad and then paste it in with the sourcecode markup tags already present.
peter, I have tried to post my code as you said, but no succes. Can you please help me on this.
my blog http://abhijitjana.net
peter, got it worked…Thank you so much… !! Here is my blog : http://abhijitjana.net
Tom, I was searching for the same thing and it was exactly that peter said.
If you need more information and other tag details, just check it
http://support.wordpress.com/code/
We are developing a vector drawing application in WPF but have run up against a snag. For example, if I draw a simple rectangle (this uses the rectangle geometry class to draw the rectangle on the canvas) I then have an option to “convert the rectangle to “Bezier” which changes the rectangle class to “path geometry” in order to edit the individual nodes of the rectangle shape.
Is there a way to change this back to a rectangle geometry class? After editing the rectangle nodes, I want to have the ability to resize the rectangle, for example, but am unable to do this.
This would be similar to how Microsoft handles this in Expression Design. They have the Selection tool that allows you to resize, rotate, etc. the drawn shape, and when you switch to the Direct Selection tool the adorner is no longer there which allows you to edit the nodes of the shape. When you then switch back to the Selection tool, the node editing is no longer there and you can then resize, rotate, etc. again.