diff options
author | Peng Wu <alexepico@gmail.com> | 2022-06-08 11:41:16 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2022-06-08 11:41:16 +0800 |
commit | 35e9bd1812f65a40a067b0271c6bb481b9c6d3c8 (patch) | |
tree | 9bcc1f84cea66ef36f9e462f09f4c6ab40d66b01 | |
parent | 41a395397ef19352504b0d194cd57b9fc01b8209 (diff) | |
download | ibus-libpinyin-35e9bd1812f65a40a067b0271c6bb481b9c6d3c8.tar.gz |
Fix class ExtEditor
-rw-r--r-- | src/PYExtEditor.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc index 35fcf09..1e33788 100644 --- a/src/PYExtEditor.cc +++ b/src/PYExtEditor.cc @@ -254,7 +254,7 @@ gboolean ExtEditor::processPageKey (guint keyval) { switch (keyval) { - //For 2000-10-10 16:30 input. + //For "2000-10-10" and "16:30" input. case IBUS_comma: if (m_config.commaPeriodPage ()) { pageUp (); @@ -268,13 +268,14 @@ ExtEditor::processPageKey (guint keyval) return TRUE; } break; -#endif + //For "2.5" input. case IBUS_period: if (m_config.commaPeriodPage ()) { pageDown (); return TRUE; } break; +#endif case IBUS_equal: if (m_config.minusEqualPage ()) { pageDown (); |