Sets the current selection in the editor.
Setting the position is disallowed when the editor is internally locked for reflowing (see also Locks).
The system may change the selection in an editor without calling this method (or any visible method).
If end is 'same or less than or equal to start, the current start and end positions are both set to start. Otherwise the given range is selected.
See End of Line for a discussion of at-eol?. If scroll? is not #f, then the display is scrolled to show the selection if necessary.
The seltype argument is only used when the X Window System selection mechanism is enabled. The possible values are:
See also editor-set-x-selection-mode.