delete in text%
The content of an editor can be changed
by the
system in response to other method
calls, and such changes do not go through this method; use on-delete to
monitor content deletion changes.
(-> voidsenda-textdeletestartendscroll-ok?)
start: exact non-negative integer or'start
end=: exact non-negative integer or'back'back
scroll-ok?=#t: booleanDeletes the specified range in the editor. If
startis'start, then the starting selection position is used; ifendis'back, then only the character precedingstartis deleted. Ifscroll-ok?is not#fandstartis the same as the current caret position, then the editor's display may be scrolled to show the new selection position.
-
Deletes the currently selected text.