original_docstring: Calculate the hint strings for elems.
  
          Inspired by Vimium.
  
          Args:
              elems: The elements to get hint strings for.
  
          Return:
              A list of hint strings, in the same order as the elements.
          
docstring: Calculate the hint strings for elems.
  Inspired by Vimium.
docstring_tokens: Calculate the hint strings for elems . Inspired by Vimium .
code: def _hint_strings(self, elems: _ElemsType) -> _HintStringsType:
          """Calculate the hint strings for elems.
  
          Inspired by Vimium.
  
          Args:
              elems: The elements to get hint strings for.
  
          Return:
              A list of hint strings, in the same order as the elements.
          """
          if not elems:
              return []
  
          assert self._context is not None
          hint_mode = self._context.hint_mode
          if hint_mode == 'word':
              try:
                  return self._word_hinter.hint(elems)
              except HintingError as e:
                  message.error(str(e))
                  # falls back on letter hints
          if hint_mode == 'number':
              chars = '0123456789'
          else:
              chars = config.val.hints.chars
          min_chars = config.val.hints.min_chars
          if config.val.hints.scatter and hint_mode != 'number':
              return self._hint_scattered(min_chars, chars, elems)
          else:
              return self._hint_linear(min_chars, chars, elems)
code_tokens: def _hint_strings ( self , elems : _ElemsType ) -> _HintStringsType : if not elems : return [ ] assert self . _context is not None hint_mode = self . _context . hint_mode if hint_mode == 'word' : try : return self . _word_hinter . hint ( elems ) except HintingError as e : message . error ( str ( e ) ) if hint_mode == 'number' : chars = '0123456789' else : chars = config . val . hints . chars min_chars = config . val . hints . min_chars if config . val . hints . scatter and hint_mode != 'number' : return self . _hint_scattered ( min_chars , chars , elems ) else : return self . _hint_linear ( min_chars , chars , elems )
short_docstring: Calculate the hint strings for elems.
short_docstring_tokens: Calculate the hint strings for elems .
comment: """Calculate the hint strings for elems.
  
          Inspired by Vimium.
  
          Args:
              elems: The elements to get hint strings for.
  
          Return:
              A list of hint strings, in the same order as the elements.
          """$SEP$# falls back on letter hints