(self)
Navigate up
Navigate up
Navigate up
def nav_up(self):
        '''Navigate up'''

        if self.cur_win == 0 and self.g_highlight > 0:
            if self.g_offset > 0 and self.g_highlight == self.g_offset:
                self.g_offset -= 1
            self.g_highlight -= 1
            self.e_offset = 0
            self.e_highlight = 0
            self.sort_tables(False, True)
        elif self.cur_win == 1 and self.e_highlight > 0:
            if self.e_offset > 0 and self.e_highlight == self.e_offset:
                self.e_offset -= 1
            self.e_highlight -= 1
def nav_up ( self ) : if self . cur_win == 0 and self . g_highlight > 0 : if self . g_offset > 0 and self . g_highlight == self . g_offset : self . g_offset -= 1 self . g_highlight -= 1 self . e_offset = 0 self . e_highlight = 0 self . sort_tables ( False , True ) elif self . cur_win == 1 and self . e_highlight > 0 : if self . e_offset > 0 and self . e_highlight == self . e_offset : self . e_offset -= 1 self . e_highlight -= 1