set default selection in addText
removed "showSelection" rendering