DeleteFromInputText

From the Oblivion ConstructionSet Wiki
Revision as of 05:38, 28 December 2014 by imported>QQuix (Removed the {{BotAddedPage}} tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(void) DeleteFromInputText numToDelete:short bBackwards:bool bDeleteWholeWords:bool

Deletes a number of characters or words from the input text in the direction specified, beginning from the current cursor position.

Note that an html tag is treated as both a word and a character (it is not possible to delete only part of a tag).

Both optional parameters are false by default.