added features to textedit and implemented current into faux-sublime