powerbot/RSBot-API — pull request #537 by trDna-PB (2012-10-06 15:50:58+00:00)
Title: Add methods/input/Keyboard.java

Added methods:

#eraseAllText
-> Erases all text of the given WidgetChild (if editable).

#eraseErroneousText
-> Compares the WidgetChild's text and the preferred String to find any mismatches.
-> Erases the text of a given WidgetChild (if editable) up to the point of error.
-> Retypes the wanted text from the point of error if wanted.
(assuming if the WidgetChild is editable)

#getDifference
-> Compares two strings and returns the substring from the index of mismatch.
-> For internal use.