browson/nodeview.py
def expand_all(self) -> None:
        """Expand all nodes.

        Put focus back onto (the first line of) the current node.
        """
        current = self.lines[self.focus].node
        for node in self.root.dfwalk():
            node.collapsed = False
        self.rerender(0)  # redraw everything

        # Re-focus current node
        for i, (_, n) in enumerate(self.lines):
            if n is current:
                self.set_focus(i)
                break
Expand all nodes.

        Put focus back onto (the first line of) the current node.
        
Expand all nodes.
Put focus back onto (the first line of) the current node.
Expand all nodes . Put focus back onto ( the first line of ) the current node .
def expand_all(self) -> None:
        current = self.lines[self.focus].node
        for node in self.root.dfwalk():
            node.collapsed = False
        self.rerender(0)  
        for i, (_, n) in enumerate(self.lines):
            if n is current:
                self.set_focus(i)
                break
def expand_all ( self ) -> None : current = self . lines [ self . focus ] . node for node in self . root . dfwalk ( ) : node . collapsed = False self . rerender ( 0 ) for i , ( _ , n ) in enumerate ( self . lines ) : if n is current : self . set_focus ( i ) break
Expand all nodes.
Expand all nodes .
"""Expand all nodes.

        Put focus back onto (the first line of) the current node.
        """ # redraw everything # Re-focus current node
self