@Override
    public void replaceTextRange(int start, int replaceLength, String text)
    {
        int length = text.length();
        if (length != replaceLength || start + length > data.length())
            return;

        data.replace(start, start + length, text);
    }
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