detail usage for xheditor in xhsample project.