I added a new comment to the subject bug, but couldn't attach the file
I cited as an example. It's attached here: xpart.g
Note that I'm using version 7.14.8.
If my comment wasn't clear, rtedge works inside mged but not outside.