void setDimensions(int columns, int lines)
    {
        numberOfColumns = columns <= 0 ? 1 : columns;
        //numberOfLines = lines;
        linesTimesColumns = lines * columns;
        setText(data.toString());
    }
Replaces part of the content with new text. Works only when the new text length is the same as
replaceLength (when the content's size won't change). For other cases use <code>setText()</code> or
<code>shiftLines()</code> instead.

@see org.eclipse.swt.custom.StyledTextContent#replaceTextRange(int, int, java.lang.String)
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/DisplayedContent.java