do not replace edit region when text not changed