def dosearch(self, window, search_for, forwards): if not forwards: vx.move_right_window(window) return text.find_regex(search_for, window, forwards)
def right(window=None): vx.move_right_window(window if window else windows.focused)
def dosearch(self, window, search_for, forward): if not forward: vx.move_right_window(window) return window.get_regex_linecoloffsetlength_of(search_for, forward=forward)