set-text feature for text field
fire events
text fields supports home and end keys
removed some duplicate code
implemented append-segments-to-frame
fix: empty pattern caused infinite loop
fixed: invalid color index char caused null pointer exception
version 0.2.0