add means to replace selected text in gtext
fix to gtable[<- method