public void setSelection(long start, long end)
    {
        select(start, end);
        ensureCaretIsVisible();
        redrawTextAreas(false);
    }
Sets the selection. The caret may change position but stays at the same selection point (if it
was at the start of the selection it will move to the new start, otherwise to the new end point).
The new selection is made visible

@param start inclusive start selection char
@param end   exclusive end selection char
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/HexEditControl.java