public void delete() {
        TextGrid.DataGridCel cel;
        TextGrid.DataGridCel nextCel;
        cel = grid.getCel(currentRow + rowOffset, currentCol + colOffset);

        if (currentRow + rowOffset == numberOfRows - 1) {
            nextCel = grid.getCel(currentRow + rowOffset, currentCol
                    + colOffset + 1);
            if (nextCel != null
                    && nextCel.getCharacter() != DataGridCel.NullChar) {
                grid.removeChar(cel.getBufferIndex());
            }
        } else {
            if (cel.getCharacter() != DataGridCel.NullChar) {
                grid.removeChar(cel.getBufferIndex());
            }
        }
    }