Skip to main content

is_provisional

Function is_provisional 

Source
pub fn is_provisional(unit: u16, keyboard: Keyboard) -> bool
Expand description

Whether unit is typed in English mode by a key that types a Russian letter: [ ] ; ' , ., the ё key of keyboard and their shifted forms. In English mode such a unit can start or continue a word, which keeps its typed form unless the whole word reads as Russian.