modify cpp11 & add better textobj select