diff --git a/capi/data/mini.dat b/capi/data/mini.dat index 510d5aec..4470aa01 100644 Binary files a/capi/data/mini.dat and b/capi/data/mini.dat differ diff --git a/src/editor/mod.rs b/src/editor/mod.rs index a25a509c..be967f1a 100644 --- a/src/editor/mod.rs +++ b/src/editor/mod.rs @@ -524,10 +524,10 @@ impl SharedState { self.conversion().into_iter() } fn snapshot(&mut self) { - for interval in self.intervals() { - self.com.select(interval); - } - self.nth_conversion = 0; + // for interval in self.intervals() { + // self.com.select(interval); + // } + // self.nth_conversion = 0; } fn cursor(&self) -> usize { self.com.cursor() diff --git a/tests/test-bopomofo.c b/tests/test-bopomofo.c index ef36e6e8..b6968ee7 100644 --- a/tests/test-bopomofo.c +++ b/tests/test-bopomofo.c @@ -583,7 +583,7 @@ void test_Del_word() chewing_set_maxChiSymbolLen(ctx, 16); type_keystroke_by_string(ctx, "hk4u g4"); - ok_commit_buffer(ctx, "冊市" ); + ok_commit_buffer(ctx, "測試" ); chewing_delete(ctx); } @@ -654,7 +654,7 @@ void test_Backspace_word() chewing_set_maxChiSymbolLen(ctx, 16); type_keystroke_by_string(ctx, "hk4u g4"); - ok_commit_buffer(ctx, "冊市" ); + ok_commit_buffer(ctx, "測試" ); chewing_delete(ctx); }