(self)
Skip one word to the right (CTRL+RIGHT).
Skip one word to the right (CTRL+RIGHT).
Skip one word to the right ( CTRL + RIGHT ) .
def skip_word_right(self):
        """Skip one word to the right (CTRL+RIGHT)."""
        crow, ccol = self.current_row, self.current_col
        # find non-alphanumeric chars
        while True:
            c = self._apage.get_char(crow, ccol)
            if (c not in ALPHANUMERIC):
                break
            ccol += 1
            if ccol > self.mode.width:
                if crow >= self.scroll_area.bottom:
                    # nothing found
                    return
                crow += 1
                ccol = 1
        # find alphanumeric chars
        while True:
            c = self._apage.get_char(crow, ccol)
            if (c in ALPHANUMERIC):
                break
            ccol += 1
            if ccol > self.mode.width:
                if crow >= self.scroll_area.bottom:
                    # nothing found
                    return
                crow += 1
                ccol = 1
        self.set_pos(crow, ccol)
def skip_word_right ( self ) : crow , ccol = self . current_row , self . current_col # find non-alphanumeric chars while True : c = self . _apage . get_char ( crow , ccol ) if ( c not in ALPHANUMERIC ) : break ccol += 1 if ccol > self . mode . width : if crow >= self . scroll_area . bottom : # nothing found return crow += 1 ccol = 1 # find alphanumeric chars while True : c = self . _apage . get_char ( crow , ccol ) if ( c in ALPHANUMERIC ) : break ccol += 1 if ccol > self . mode . width : if crow >= self . scroll_area . bottom : # nothing found return crow += 1 ccol = 1 self . set_pos ( crow , ccol )