    /// Get the current key length (number of characters)
    fn key_len(&self) -> usize {
        if let Some(define) = self.define {
            let i = define.indent * self.indent_spaces.unwrap_or(0);
            let k = define.key.chars().count();
            i + k
        } else {
            0
        }