get rid of selectedText event; use variable and getter function
add variable to keep a local x-position offset
change TextSelectBar::setString(...) -> TextSelectBar::setText(...)