Skip to content

Commit

Permalink
Add .git-blame-ignore-revs
Browse files Browse the repository at this point in the history
The user has to explicitly opt into this, the file itself documents how
to do so.
  • Loading branch information
madsmtm committed Apr 26, 2024
1 parent 7b0c7b6 commit bdd80c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
@@ -0,0 +1,4 @@
# $ git config blame.ignoreRevsFile .git-blame-ignore-revs

# chore(rustfmt): use nightly
7b0c7b6cb2c62767ca0c73c857b299883f55a883
5 changes: 4 additions & 1 deletion src/event.rs
Expand Up @@ -723,20 +723,23 @@ impl From<ModifiersState> 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)))
/// // Press "E" key
/// 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)))
Expand Down

0 comments on commit bdd80c8

Please sign in to comment.