def OnCmdThe(self, cmd, code):
        curparamsstr = self.GetDocument().GetParams()
        params = curparamsstr.split('\t')
        params[2] = self.sel
        greptemplate.setParams('\t'.join(params))