browson/nodeview.py
def jump_match(self, *, forwards: bool = False) -> None:
        """Move focus to the previous/next match for .search."""
        if forwards:
            indices = range(self.focus + 1, len(self.lines))
        else:
            indices = range(self.focus - 1, -1, -1)
        for i in indices:
            if self._matches(i):
                self.set_focus(i)
                return
Move focus to the previous/next match for .search.
Move focus to the previous/next match for .search.
Move focus to the previous / next match for . search .
def jump_match(self, *, forwards: bool = False) -> None:
        if forwards:
            indices = range(self.focus + 1, len(self.lines))
        else:
            indices = range(self.focus - 1, -1, -1)
        for i in indices:
            if self._matches(i):
                self.set_focus(i)
                return
def jump_match ( self , * , forwards : bool = False ) -> None : if forwards : indices = range ( self . focus + 1 , len ( self . lines ) ) else : indices = range ( self . focus - 1 , - 1 , - 1 ) for i in indices : if self . _matches ( i ) : self . set_focus ( i ) return
Move focus to the previous/next match for .search.
Move focus to the previous / next match for . search .
"""Move focus to the previous/next match for .search."""
self
forwards
bool