parameters: (self, indices, where, extraHighlight=False)
docstring: highlights a set of atoms
docstring_summary: highlights a set of atoms
docstring_tokens: highlights a set of atoms
function: def HighlightAtoms(self, indices, where, extraHighlight=False):
      " highlights a set of atoms "
      if extraHighlight:
        idxText = ','.join(['%s and (id %d)' % (where, x) for x in indices])
        self.server.do('edit %s' % idxText)
      else:
        idxText = ' or '.join(['id %d' % x for x in indices])
        self.server.do('select selection, %s and (%s)' % (where, idxText))
function_tokens: def HighlightAtoms ( self , indices , where , extraHighlight = False ) : if extraHighlight : idxText = ',' . join ( [ '%s and (id %d)' % ( where , x ) for x in indices ] ) self . server . do ( 'edit %s' % idxText ) else : idxText = ' or ' . join ( [ 'id %d' % x for x in indices ] ) self . server . do ( 'select selection, %s and (%s)' % ( where , idxText ) )