(self)
Delete the character (half/fullwidth) at the current position.
Delete the character (half/fullwidth) at the current position.
Delete the character ( half / fullwidth ) at the current position .
def delete_fullchar(self):
        """Delete the character (half/fullwidth) at the current position."""
        width = self._apage.get_charwidth(self.current_row, self.current_col)
        # on a halfwidth char, delete once; lead byte, delete twice; trail byte, do nothing
        with self._apage.collect_updates():
            if width > 0:
                self._delete_at(self.current_row, self.current_col)
            if width == 2:
                self._delete_at(self.current_row, self.current_col)
        self._move_cursor(self.current_row, self.current_col)
def delete_fullchar ( self ) : width = self . _apage . get_charwidth ( self . current_row , self . current_col ) # on a halfwidth char, delete once; lead byte, delete twice; trail byte, do nothing with self . _apage . collect_updates ( ) : if width > 0 : self . _delete_at ( self . current_row , self . current_col ) if width == 2 : self . _delete_at ( self . current_row , self . current_col ) self . _move_cursor ( self . current_row , self . current_col )