diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..575dbb2b --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +# $ git config blame.ignoreRevsFile .git-blame-ignore-revs + +# chore(rustfmt): use nightly +7b0c7b6cb2c62767ca0c73c857b299883f55a883 diff --git a/src/event.rs b/src/event.rs index bc7c18a5..c8ce2910 100644 --- a/src/event.rs +++ b/src/event.rs @@ -723,7 +723,8 @@ impl From for Modifiers { /// /// A prominent example of this is accents - many keyboard layouts allow you to first click the /// "accent key", and then the character you want to apply the accent to. In this case, some -/// platforms will generate the following event sequence: ```ignore +/// platforms will generate the following event sequence: +/// /// ```ignore /// // Press "`" key /// Ime::Preedit("`", Some((0, 0))) @@ -731,12 +732,14 @@ impl From for Modifiers { /// Ime::Preedit("", None) // Synthetic event generated by winit to clear preedit. /// Ime::Commit("é") /// ``` +/// /// Additionally, certain input devices are configured to display a candidate box that allow the /// user to select the desired character interactively. (To properly position this box, you must use /// [`Window::set_ime_cursor_area`].) /// /// An example of a keyboard layout which uses candidate boxes is pinyin. On a latin keyboard the /// following event sequence could be obtained: +/// /// ```ignore /// // Press "A" key /// Ime::Preedit("a", Some((1, 1)))