Inserts text, returning whether any text was inserted.
bool insert(String text) => insertText(text) > 0;