init try code mirror,success